Rustup to rustc 1.77.0-nightly (89e2160c4 2023-12-27)

This commit is contained in:
bjorn3 2023-12-28 16:26:57 +00:00
parent 4c0ad606d0
commit 1dbb249844
2 changed files with 2 additions and 2 deletions

View File

@ -1,3 +1,3 @@
[toolchain]
channel = "nightly-2023-12-24"
channel = "nightly-2023-12-28"
components = ["rust-src", "rustc-dev", "llvm-tools"]

View File

@ -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();
}