To upgrade to new rust toolchain versions, we would:
make a PR against this repo
copy/paste build-cargo.sh into the appropriate new versioned subdirectories as specified in this repo's README
then modify build.sh in the new subdirectories to pull down the new rust version instead of 1.42.0.
The pants PR to consume this as part of a rust/cargo backend has not yet been created, so this will not be ready for review until that PR has passed review.
The
build-cargo.sh
script was derived from the code that currently bootstraps pants, especiallybootstrap_rust.sh
: https://github.com/pantsbuild/pants/blob/9960d8834a369f6dea1a1b940eb039d90843db37/build-support/bin/native/bootstrap_rust.sh#L26-L31To upgrade to new rust toolchain versions, we would:
build-cargo.sh
into the appropriate new versioned subdirectories as specified in this repo's READMEbuild.sh
in the new subdirectories to pull down the new rust version instead of1.42.0
.The pants PR to consume this as part of a rust/cargo backend has not yet been created, so this will not be ready for review until that PR has passed review.