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.
1 parent 38c79ef commit ee41470Copy full SHA for ee41470
build.rs
@@ -146,7 +146,7 @@ fn compile_probe(rustc_bootstrap: bool) -> bool {
146
}
147
148
fn rustc_minor_version() -> Option<u32> {
149
- let rustc = env::var_os("RUSTC")?;
+ let rustc = cargo_env_var("RUSTC");
150
let output = Command::new(rustc).arg("--version").output().ok()?;
151
let version = str::from_utf8(&output.stdout).ok()?;
152
let mut pieces = version.split('.');
0 commit comments