Skip to content

Conversation

@varungandhi-src
Copy link
Contributor

We also bump the Rust version to 1.74.0 as older Rust
toolchains are unable to compile the protobuf dependency

Fixes #284

Test plan

CI should pass

We also bump the Rust version to 1.74.0 as older Rust
toolchains are unable to compile the protobuf dependency
PROTOC_GEN_RUST_VERSION="$(cat bindings/rust/Cargo.toml | grep 'protobuf =' | sed -E 's/.*\"=(.+)\"/\1/g')"
if ! grep -q "$PROTOC_GEN_RUST_VERSION" "./.bin/PROTOC_GEN_RUST_VERSION" \
|| ! test -f "./.bin/bin/protoc-gen-rust"; then
|| ! test -f "./.bin/bin/protoc-gen-rs"; then
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This update is because of the binary name change: https://github.com/stepancheg/rust-protobuf/blob/master/CHANGELOG.md

@varungandhi-src varungandhi-src merged commit 6990bae into main Oct 17, 2024
3 checks passed
@varungandhi-src varungandhi-src deleted the vg/bump-protobuf branch October 17, 2024 04:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Rust bindings: please update protobuf dependency

1 participant