mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-15 20:45:45 +03:00
Rustup to rustc 1.77.0-nightly (89e2160c4 2023-12-27)
This commit is contained in:
+1
-1
@@ -1,3 +1,3 @@
|
||||
[toolchain]
|
||||
channel = "nightly-2023-12-24"
|
||||
channel = "nightly-2023-12-28"
|
||||
components = ["rust-src", "rustc-dev", "llvm-tools"]
|
||||
|
||||
+1
-1
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user