as I'm attempting to upgrade the version of Rust u...
# development
c
as I'm attempting to upgrade the version of Rust used in scie-pants, I keep running into an issue with building the pants engine (as part of a scie-pants test), due to what seems to be rustup not respecting the requested toolchain in the pants sources..? any extra eyes for input would be appreciated: https://github.com/pantsbuild/scie-pants/actions/runs/8328735688/job/22789400876#step:8:228 https://github.com/pantsbuild/scie-pants/pull/358/files
g
I'm trying to figure out how it builds the engine, the rust-toolchain.toml is only used in some scenarios.
Try adding
rustup show
, it should print which toolchains are in play and where they are configured
c
It’s done as part of the pants bootstrap script.. The actual build is command is here: https://github.com/pantsbuild/pants/blob/e2940014b99ac0c49428788bb182584e2a654cd0/build-support/bin/rust/bootstrap_code.sh#L42-L46
I tried adding the
rustup show
in the test.. but the output doesn't seem to make the whole way..