We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 744c844 commit 9a9ebc1Copy full SHA for 9a9ebc1
crates/rustc_codegen_spirv/build.rs
@@ -11,6 +11,9 @@ use std::process::{Command, ExitCode};
11
use std::{env, fs, mem};
12
13
/// Current `rust-toolchain.toml` file
14
+/// WARNING!!! cargo-gpu is new relying on this being a string literal! It will
15
+/// scan `build.rs` for any line starting with `channel = "..."` to figure out
16
+/// which toolchain version to use! This also allows backwards compat.
17
/// Unfortunately, directly including the actual workspace `rust-toolchain.toml` doesn't work together with
18
/// `cargo publish`. We need to figure out a way to do this properly, but let's hardcode it for now :/
19
//const REQUIRED_RUST_TOOLCHAIN: &str = include_str!("../../rust-toolchain.toml");
0 commit comments