Files
prometeu-runtime/discussion/lessons/DSC-0071-rust-toolchain-pin/LSN-0075-one-source-for-the-rust-compiler-version.md
T
bquarkz 49d7fca0b7
Intrepid/Prometeu/Runtime/pipeline/head There was a failure building this commit
chore(toolchain): pin Rust to 1.98.1
2026-11-10 22:39:19 +00:00

36 lines
1.5 KiB
Markdown

---
id: LSN-0075
ticket: rust-toolchain-pin
title: One source for the Rust compiler version
created: 2026-11-10
tags: [tooling, ci]
---
## Published configuration
Historical source: accepted DEC-0070, implemented through PLN-0201 from AGD-0074.
The selected compiler is Rust 1.98.1 in
[rust-toolchain.toml](../../../rust-toolchain.toml), with installation instructions
in the [README](../../../README.md#requirements). No runtime spec changed.
## A moving channel does not preserve a tested environment
`stable` can resolve to different compilers across machines and installation
dates. An exact version preserves the compiler used in existing qualifications.
Cargo's `rust-version` expresses a minimum and does not replace that selection.
The [CI workflow](../../../.github/workflows/ci.yml) reads the channel from the
toolchain file and passes it explicitly to `rustup toolchain install`, avoiding
another version literal to update. Implicit installation encountered cache rename
errors during verification; explicit installation recognized the existing compiler
and components. The shared provisioner installs formatting, Clippy and coverage
components before the quality gate.
## Evidence and limits
On macOS aarch64, the numbered toolchain selected rustc/cargo 1.98.1. Workspace
formatting and `cargo check --workspace --all-targets --all-features --locked`
passed. Explicit installation and CI version extraction also passed. This controls
compiler drift; it does not establish the cause or resolution of the original
Linux compatibility failure.