From 37ed757424b444c3dd4bc3ca150c12ee40d85b48 Mon Sep 17 00:00:00 2001 From: Drewry Pope Date: Mon, 23 Nov 2026 08:11:37 -0600 Subject: [PATCH] docs: align toolchain pin comments to 1.99.1 (#13303) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit pkgs/id/rust-toolchain.toml has pinned channel 1.99.1 since PR #7205 (2026-11-13), but six comment sites in the three files that resolve their toolchain from that file still described it as 1.99.0: - nix-common.nix: channel (currently 1.99.0) note above fromRustupToolchainFile, and the cargo-llvm-cov note (its test suite fails under the pinned Cargo — a present-tense claim about the current pin, so it tracks the pin to 1.99.1). - nixos/environment/default.nix: (channel 1.99.0), (1.99.0 + clippy / rustfmt), Pinned Rust toolchain (1.99.0). - pkgs/id/flake.nix: builds of the same pinned 1.99.0. Comment-only; no build behaviour changes. benches/baseline.txt measurement records and tests/toolchain_pin.rs fixtures deliberately untouched: they record the compiler that actually ran. --- nix-common.nix | 4 ++-- nixos/environment/default.nix | 6 +++--- pkgs/id/flake.nix | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/nix-common.nix b/nix-common.nix index bfcd717856..6970734a98 100644 --- a/nix-common.nix +++ b/nix-common.nix @@ -18,7 +18,7 @@ let # Rust toolchain, pinned by pkgs/id/rust-toolchain.toml and resolved through # rust-overlay. This is the modern way to get a complete toolchain: the # file's `components` list is what places clippy, rust-analyzer, rustfmt and - # llvm-tools in the toolchain, and `channel` (currently 1.99.0) is the single + # llvm-tools in the toolchain, and `channel` (currently 1.99.1) is the single # place the version lives. Nothing else needs to be added for those tools. rustToolchain = pkgs.rust-bin.fromRustupToolchainFile ./pkgs/id/rust-toolchain.toml; @@ -95,7 +95,7 @@ let zig # id: builds the roc-world wasm host (build.zig.zon wants 0.16) cargo-watch cargo-nextest - # cargo-llvm-cov 0.9.0's test suite fails under the pinned Cargo 1.99.0. + # cargo-llvm-cov 0.9.0's test suite fails under the pinned Cargo 1.99.1. # The devShell needs the binary, not the package's tests, so keep the tool # and skip only its broken check phase (#4818; same narrow remedy as #5275). (cargo-llvm-cov.overrideAttrs (_: { diff --git a/nixos/environment/default.nix b/nixos/environment/default.nix index 374ca14281..142d043029 100644 --- a/nixos/environment/default.nix +++ b/nixos/environment/default.nix @@ -454,7 +454,7 @@ let latestCli = pkgs.callPackage (lib.from-root "pkgs/latest-cli") { }; # Rust toolchain for the whole system, matching the devshell exactly: the - # same pkgs/id/rust-toolchain.toml (channel 1.99.0) resolved through the same + # same pkgs/id/rust-toolchain.toml (channel 1.99.1) resolved through the same # rust-overlay lock. This is what places clippy, rust-analyzer, rustfmt and # llvm-tools on the system, which the plain nixpkgs rustc/cargo cannot. # @@ -1133,7 +1133,7 @@ in # libxkbcommon # lsix # mesa.drivers - # cargo / rustc come from `rustToolchain` below (1.99.0 + clippy / + # cargo / rustc come from `rustToolchain` below (1.99.1 + clippy / # rust-analyzer / llvm-tools), not the nixpkgs build. rustup # simple-http-server @@ -1443,7 +1443,7 @@ in # VR #immersed ]) - # Pinned Rust toolchain (1.99.0) shared with the devshell. Replaces the + # Pinned Rust toolchain (1.99.1) shared with the devshell. Replaces the # nixpkgs cargo/rustc/rustfmt above so PATH stays on one version. ++ [ rustToolchain ]; ######## STUPID PACKAGES BULLSHIT ABOVE THIS LINE diff --git a/pkgs/id/flake.nix b/pkgs/id/flake.nix index 64d4b00e81..e7a6e7e23b 100644 --- a/pkgs/id/flake.nix +++ b/pkgs/id/flake.nix @@ -393,7 +393,7 @@ # roc-examples pattern. Wasm bytes are not reproducible # across rustc builds or build paths (the producers/code # sections differ between the rustup and rust-overlay - # builds of the same pinned 1.99.0), so a byte drift gate + # builds of the same pinned 1.99.1), so a byte drift gate # would be permanently red; what CI must prove is that the # module built from current source passes the conformance # tests that load it (src/sandbox.rs include_bytes!).