diff --git a/crates/rustc_codegen_spirv/build.rs b/crates/rustc_codegen_spirv/build.rs index 19a0467372..6598497dc2 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-08" +channel = "nightly-2026-04-13" components = ["rust-src", "rustc-dev", "llvm-tools"] -# commit_hash = c756124775121dea0e640652c5ee3c89e3dd0eb4"#; +# commit_hash = 14196dbfa3eb7c30195251eac092b1b86c8a2d84"#; 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 64104027f2..4b8dbaee5a 100644 --- a/rust-toolchain.toml +++ b/rust-toolchain.toml @@ -1,7 +1,7 @@ [toolchain] -channel = "nightly-2026-04-08" +channel = "nightly-2026-04-13" components = ["rust-src", "rustc-dev", "llvm-tools"] -# commit_hash = c756124775121dea0e640652c5ee3c89e3dd0eb4 +# commit_hash = 14196dbfa3eb7c30195251eac092b1b86c8a2d84 # Whenever changing the nightly channel, update the commit hash above, and # change `REQUIRED_RUST_TOOLCHAIN` in `crates/rustc_codegen_spirv/build.rs` too.