Skip to content

Commit

Permalink
Revert dependency bump of tonic-build
Browse files Browse the repository at this point in the history
The tonic-build crate had an update that breaks builds when rustc
version is < 1.77. The current available version in the archive is
1.75, so we need to revert the dependency bump while the bug is not
fixed. The issue link for reference:
hyperium/tonic#1909
  • Loading branch information
denisonbarbosa committed Sep 11, 2024
1 parent f5c42eb commit 2c7f2b3
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 14 deletions.
49 changes: 36 additions & 13 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion nss/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,6 @@ procfs = "0.16.0"
hyper-util = "0.1.7"

[build-dependencies]
tonic-build = "0.12.2"
# We need to pin tonic-build to 0.11.* for now until https://github.com/hyperium/tonic/issues/1909 is fixed.
tonic-build = "0.11.*"
cc = "1.1.15"

0 comments on commit 2c7f2b3

Please sign in to comment.