chore(toolchain): declare the release cross target in the pin
scripts/build-release.sh cross-compiles to x86_64-unknown-linux-gnu on the host. Pinning the toolchain to 1.91.1 gave a fresh toolchain without that target, so the release script failed its preflight on a missing std the first time it ran after the pin. Declaring it in rust-toolchain.toml makes rustup install it for any clone or future bump.
This commit is contained in:
parent
897c6086f5
commit
3370394666
@ -12,3 +12,8 @@
|
||||
[toolchain]
|
||||
channel = "1.91.1"
|
||||
components = ["rustfmt", "clippy"]
|
||||
# scripts/build-release.sh cross-compiles the release images on the host
|
||||
# (mac-arm64 -> x86_64-unknown-linux-gnu). Declaring the target here means a
|
||||
# fresh clone - or a toolchain bump - installs it automatically instead of
|
||||
# failing the release script on a missing std.
|
||||
targets = ["x86_64-unknown-linux-gnu"]
|
||||
|
||||
Loading…
Reference in New Issue
Block a user