Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions bindings/rust/extended/generate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@ cp -r \

# generate the bindings modules from the copied sources
pushd generate
# Behavior change from https://github.com/rust-lang/rustup/pull/3985
rustc --version || rustup toolchain install
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

On one hand it feels weird to install the toolchain in the script, but I guess that was the previous behavior?

Approving because we only expect this to be run by s2n-tls developers, so it should be a totally internal change.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I agree, it seems like this should be an existing action that just works. After unblocking the GHA runs, we should review.

rustup component add rustfmt
cargo run -- ../s2n-tls-sys
popd

Expand All @@ -53,6 +56,7 @@ cargo publish --dry-run --allow-dirty --all-features
popd

pushd ../standard/integration
rustc --version || rustup toolchain install
cargo run
popd

Expand Down