We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
RUSTC_WRAPPER
1 parent 8ee9f2f commit b11f13bCopy full SHA for b11f13b
crates/spirv-builder/src/lib.rs
@@ -1038,6 +1038,11 @@ fn invoke_rustc(builder: &SpirvBuilder) -> Result<PathBuf, SpirvBuilderError> {
1038
// previously set.
1039
cargo.env_remove("RUSTC");
1040
1041
+ // NOTE(tuguzT) Used by Cargo to call executables of Clippy, Miri
1042
+ // (and maybe other Cargo subcommands) instead of `rustc`
1043
+ // which could affect its functionality and break the build process.
1044
+ cargo.env_remove("RUSTC_WRAPPER");
1045
+
1046
// NOTE(eddyb) this used to be just `RUSTFLAGS` but at some point Cargo
1047
// added a separate environment variable using `\x1f` instead of spaces,
1048
// which allows us to have spaces within individual `rustc` flags.
0 commit comments