Skip to content

Commit be4c9b7

Browse files
committed
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
1 parent bc73567 commit be4c9b7

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

crates/rustc_codegen_spirv/build.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ use std::{env, fs, mem};
1919
/// `cargo publish`. We need to figure out a way to do this properly, but let's hardcode it for now :/
2020
//const REQUIRED_RUST_TOOLCHAIN: &str = include_str!("../../rust-toolchain.toml");
2121
const REQUIRED_RUST_TOOLCHAIN: &str = r#"[toolchain]
22-
channel = "nightly-2026-04-01"
22+
channel = "nightly-2026-04-02"
2323
components = ["rust-src", "rustc-dev", "llvm-tools"]
24-
# commit_hash = 48cc71ee88cd0f11217eced958b9930970da998b"#;
24+
# commit_hash = 7e46c5f6fb87f8cf4353e058479cef15d1d952b4"#;
2525

2626
fn rustc_output(arg: &str) -> Result<String, Box<dyn Error>> {
2727
let rustc = env::var("RUSTC").unwrap_or_else(|_| "rustc".into());

rust-toolchain.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[toolchain]
2-
channel = "nightly-2026-04-01"
2+
channel = "nightly-2026-04-02"
33
components = ["rust-src", "rustc-dev", "llvm-tools"]
4-
# commit_hash = 48cc71ee88cd0f11217eced958b9930970da998b
4+
# commit_hash = 7e46c5f6fb87f8cf4353e058479cef15d1d952b4
55

66
# Whenever changing the nightly channel, update the commit hash above, and
77
# change `REQUIRED_RUST_TOOLCHAIN` in `crates/rustc_codegen_spirv/build.rs` too.

0 commit comments

Comments
 (0)