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>
This commit is contained in:
Matt SpencerandCopilot committed 2026-11-29 01:14:32 +00:00
1 parent bf031b55b7
commit 35fe7c7bf9
1 file changed
+3 -1
+3 -1
View File
@@ -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"]