diff --git a/crates/rustc_codegen_spirv/build.rs b/crates/rustc_codegen_spirv/build.rs index 61b397a4f8e..220b6d971dd 100644 --- a/crates/rustc_codegen_spirv/build.rs +++ b/crates/rustc_codegen_spirv/build.rs @@ -19,9 +19,9 @@ use std::{env, fs, mem}; /// `cargo publish`. We need to figure out a way to do this properly, but let's hardcode it for now :/ //const REQUIRED_RUST_TOOLCHAIN: &str = include_str!("../../rust-toolchain.toml"); const REQUIRED_RUST_TOOLCHAIN: &str = r#"[toolchain] -channel = "nightly-2026-04-01" +channel = "nightly-2026-04-02" components = ["rust-src", "rustc-dev", "llvm-tools"] -# commit_hash = 48cc71ee88cd0f11217eced958b9930970da998b"#; +# commit_hash = 7e46c5f6fb87f8cf4353e058479cef15d1d952b4"#; fn rustc_output(arg: &str) -> Result> { let rustc = env::var("RUSTC").unwrap_or_else(|_| "rustc".into()); diff --git a/rust-toolchain.toml b/rust-toolchain.toml index af87db17967..df781fe607e 100644 --- a/rust-toolchain.toml +++ b/rust-toolchain.toml @@ -1,7 +1,7 @@ [toolchain] -channel = "nightly-2026-04-01" +channel = "nightly-2026-04-02" components = ["rust-src", "rustc-dev", "llvm-tools"] -# commit_hash = 48cc71ee88cd0f11217eced958b9930970da998b +# commit_hash = 7e46c5f6fb87f8cf4353e058479cef15d1d952b4 # Whenever changing the nightly channel, update the commit hash above, and # change `REQUIRED_RUST_TOOLCHAIN` in `crates/rustc_codegen_spirv/build.rs` too.