Skip to content

Commit b2abc14

Browse files
anvansterclaude
andcommitted
build: pin the Rust toolchain to 1.94.1
Release engines are built on four hosts plus a container that installs its own Rust. Unpinned, they ran three different rustc versions. A rust-toolchain.toml makes rustup on every host, and in the linux-arm64 container, use the same compiler. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017rVbt7rENTwXkdHt3Bpgb5
1 parent ae2bed1 commit b2abc14

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

‎rust-toolchain.toml‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# One compiler for every release build. Each platform's engine is built on a
2+
# different host (and linux-arm64 in a container that installs Rust itself);
3+
# without a pin they drifted onto three different rustc versions, so one release
4+
# shipped binaries the same source compiled differently.
5+
[toolchain]
6+
channel = "1.94.1"
7+
components = ["rustfmt", "clippy"]
8+
profile = "minimal"

0 commit comments

Comments
 (0)