Skip to content

Commit 91aa2f2

Browse files
committed
workaround for cranelift
1 parent 5bdd64a commit 91aa2f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/rustc_codegen_cranelift/src/toolchain.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ use rustc_session::Session;
77

88
/// Tries to infer the path of a binary for the target toolchain from the linker name.
99
pub(crate) fn get_toolchain_binary(sess: &Session, tool: &str) -> PathBuf {
10-
let (mut linker, _linker_flavor) = linker_and_flavor(sess);
10+
let (mut linker, _linker_flavor) = linker_and_flavor(sess, false);
1111
let linker_file_name =
1212
linker.file_name().unwrap().to_str().expect("linker filename should be valid UTF-8");
1313

0 commit comments

Comments
 (0)