From 35fe7c7bf99694c6db659afa44504c13e84ce6db Mon Sep 17 00:00:00 2001 From: Matt Spencer Date: Sun, 29 Nov 2026 01:14:32 +0000 Subject: [PATCH] build: pin the Rust nightly The toolchain file said "nightly", so every build used whatever the newest nightly was that day. The release workflow built the same commit as a different binary to a local build (346,464 bytes against 358,928), and a new nightly could break the build with no change to the project. Pin the nightly that the project has been built and tested with, 2026-10-17 (rustc 5d8fec066). Moving it forward is now a deliberate change. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- rust-toolchain.toml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/rust-toolchain.toml b/rust-toolchain.toml index 7b6c061..ae57a27 100644 --- a/rust-toolchain.toml +++ b/rust-toolchain.toml @@ -1,4 +1,6 @@ [toolchain] -channel = "nightly" +# pinned, so that a release builds the same way every time: a floating +# "nightly" changes under the project. Move it forward deliberately. +channel = "nightly-2026-10-17" components = ["rust-src", "rustfmt", "clippy"] targets = ["riscv32imac-unknown-none-elf"]