From 1e203ebea92835f3e5c3245be0b12cfa57965e4f Mon Sep 17 00:00:00 2001 From: LegNeato <368904+LegNeato@users.noreply.github.com> Date: Thu, 2 Apr 2026 04:41:46 +0000 Subject: [PATCH 1/2] Upgrade Rust toolchain to nightly-2026-04-02 Updates: - rust-toolchain.toml: nightly-2026-04-02 - commit hash: 7e46c5f6fb87f8cf4353e058479cef15d1d952b4 - REQUIRED_RUST_TOOLCHAIN in build.rs --- crates/rustc_codegen_spirv/build.rs | 4 ++-- rust-toolchain.toml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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. From 80da68d567ac057f23d33344df1cbeb8b2ba6491 Mon Sep 17 00:00:00 2001 From: Christian Legnitto Date: Wed, 1 Apr 2026 22:54:26 -0700 Subject: [PATCH 2/2] chore: trigger CI