Rustup to rustc 1.71.0-nightly (473f916d8 2023-05-03)
This commit is contained in:
parent
b7decf2899
commit
edd0e5df3b
@ -1,3 +1,3 @@
|
||||
[toolchain]
|
||||
channel = "nightly-2023-04-29"
|
||||
channel = "nightly-2023-05-04"
|
||||
components = ["rust-src", "rustc-dev", "llvm-tools-preview"]
|
||||
|
@ -325,7 +325,7 @@ fn dep_symbol_lookup_fn(
|
||||
Linkage::NotLinked | Linkage::IncludedFromDylib => {}
|
||||
Linkage::Static => {
|
||||
let name = crate_info.crate_name[&cnum];
|
||||
let mut err = sess.struct_err(&format!("Can't load static lib {}", name));
|
||||
let mut err = sess.struct_err(format!("Can't load static lib {}", name));
|
||||
err.note("rustc_codegen_cranelift can only load dylibs in JIT mode.");
|
||||
err.emit();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user