Rustup to rustc 1.77.0-nightly (89e2160c4
2023-12-27)
This commit is contained in:
parent
4c0ad606d0
commit
1dbb249844
@ -1,3 +1,3 @@
|
||||
[toolchain]
|
||||
channel = "nightly-2023-12-24"
|
||||
channel = "nightly-2023-12-28"
|
||||
components = ["rust-src", "rustc-dev", "llvm-tools"]
|
||||
|
@ -321,7 +321,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.dcx().struct_err(format!("Can't load static lib {}", name));
|
||||
err.note("rustc_codegen_cranelift can only load dylibs in JIT mode.");
|
||||
err.emit();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user