Use correct rustc in rust's CI
This commit is contained in:
parent
8307d27522
commit
ce3576f7d8
@ -160,7 +160,9 @@ fn get_sysroot() -> PathBuf {
|
||||
}
|
||||
|
||||
fn get_host() -> String {
|
||||
let host = std::process::Command::new("rustc")
|
||||
let rustc = rustc_test_suite().unwrap_or(PathBuf::from("rustc"));
|
||||
println!("using rustc at {}", rustc.display());
|
||||
let host = std::process::Command::new(rustc)
|
||||
.arg("-vV")
|
||||
.output()
|
||||
.expect("rustc not found for -vV")
|
||||
|
Loading…
x
Reference in New Issue
Block a user