From d6a0ab4f27af4bdd77ee2e7e56bc1c8052220667 Mon Sep 17 00:00:00 2001 From: Albert Lloveras Date: Thu, 14 May 2026 23:21:13 +1000 Subject: [PATCH] fixup(rust): Pin all rust host tools checksums On Linux hosts, the nightly Rust toolchain tarballs are downloaded without a pre-declared hash. Bazel logs a `DEBUG` suggesting the addition of the canonical reproducible form on every fetch. ``` DEBUG: Rule 'rules_rust++rust_host_tools+rust_host_tools_jsonnet' indicated that a canonical reproducible form can be obtained by modifying arguments sha256s = {"2025-07-01/rustc-nightly-aarch64-apple-darwin.tar.xz": "b5fb4b5272fea4d4ef6e3896e484e9748fda4f29be428ae3a55c22f70566b54c", "2025-07-01/clippy-nightly-aarch64-apple-darwin.tar.xz": "a0715713220f6cb56031a86c91de7a26d1f89d149afc2e01af625a89ca63f673", "2025-07-01/cargo-nightly-aarch64-apple-darwin.tar.xz": "4eb240f69df9f9159c6fef128c3b7c24e5e1ae8aaf1357de4924fd518bd54941", "2025-07-01/llvm-tools-nightly-aarch64-apple-darwin.tar.xz": "ab8d9977ba3187819008b70dab317654bb290fc220cfea35b4f2ea165ce32e70", "2025-07-01/rust-std-nightly-aarch64-apple-darwin.tar.xz": "da6c8e6f256bb6512485db068d35109a3c77ccac678bc28134665cd1b547863b", "2025-07-01/rustc-nightly-x86_64-unknown-linux-gnu.tar.xz": "314716de24ef1ac3cb0e2486f07f836405278b9be322e2061d2b7256d38752bf", "2025-07-01/clippy-nightly-x86_64-unknown-linux-gnu.tar.xz": "31045a959324afec81883d041a1e5fdf4016df37ed0e7302edd18bb38ff3ccd2", "2025-07-01/cargo-nightly-x86_64-unknown-linux-gnu.tar.xz": "450c5e0e91edb56d20122949e45d8bf25d42ce86f7ba26ec072f93617cf57bd4", "2025-07-01/llvm-tools-nightly-x86_64-unknown-linux-gnu.tar.xz": "bce9c76a9d8f32b04e370e14b358895897b175a366d649b9535eb1f7c91a8aa3", "2025-07-01/rust-std-nightly-x86_64-unknown-linux-gnu.tar.xz": "f5b0c21177fe6259e19d7a39c9a0f877f595e34468a0838a20b3c401f2b679fa"} ``` --- MODULE.bazel | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/MODULE.bazel b/MODULE.bazel index 8d01a5a..4b63c80 100644 --- a/MODULE.bazel +++ b/MODULE.bazel @@ -23,6 +23,16 @@ rust_host.host_tools( "2025-07-01/cargo-nightly-aarch64-apple-darwin.tar.xz": "4eb240f69df9f9159c6fef128c3b7c24e5e1ae8aaf1357de4924fd518bd54941", "2025-07-01/llvm-tools-nightly-aarch64-apple-darwin.tar.xz": "ab8d9977ba3187819008b70dab317654bb290fc220cfea35b4f2ea165ce32e70", "2025-07-01/rust-std-nightly-aarch64-apple-darwin.tar.xz": "da6c8e6f256bb6512485db068d35109a3c77ccac678bc28134665cd1b547863b", + "2025-07-01/rustc-nightly-x86_64-unknown-linux-gnu.tar.xz": "314716de24ef1ac3cb0e2486f07f836405278b9be322e2061d2b7256d38752bf", + "2025-07-01/clippy-nightly-x86_64-unknown-linux-gnu.tar.xz": "31045a959324afec81883d041a1e5fdf4016df37ed0e7302edd18bb38ff3ccd2", + "2025-07-01/cargo-nightly-x86_64-unknown-linux-gnu.tar.xz": "450c5e0e91edb56d20122949e45d8bf25d42ce86f7ba26ec072f93617cf57bd4", + "2025-07-01/llvm-tools-nightly-x86_64-unknown-linux-gnu.tar.xz": "bce9c76a9d8f32b04e370e14b358895897b175a366d649b9535eb1f7c91a8aa3", + "2025-07-01/rust-std-nightly-x86_64-unknown-linux-gnu.tar.xz": "f5b0c21177fe6259e19d7a39c9a0f877f595e34468a0838a20b3c401f2b679fa", + "2025-07-01/rustc-nightly-aarch64-unknown-linux-gnu.tar.xz": "6f1b5f577a056d620b9745abd3e8f26f04cb3a38631aeea2eba9e08accc795d8", + "2025-07-01/clippy-nightly-aarch64-unknown-linux-gnu.tar.xz": "7594dba8152270c8fedbf60500c3ddb5dbc53922fd66b1cae4f7ecd3523e167a", + "2025-07-01/cargo-nightly-aarch64-unknown-linux-gnu.tar.xz": "efebb3bfbdbe6a265e71731fffbf9e60539128aaa7bbd8a523f66e1915f64230", + "2025-07-01/llvm-tools-nightly-aarch64-unknown-linux-gnu.tar.xz": "5682ad4f8b89ffbd365fc4ea6c420300d614d9b7281405b800e80ff3e2d24671", + "2025-07-01/rust-std-nightly-aarch64-unknown-linux-gnu.tar.xz": "cb9fc0f20cbd484e1f20dee3498a1a785fafd662ea39b3fb064773f9427262a6", }, version = "nightly/2025-07-01", )