mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 01:04:03 +00:00
Rustup to rustc 1.77.0-nightly (4cb17b4e7
2024-01-20)
This commit is contained in:
parent
9ab85888b3
commit
60ef392a2a
24
patches/0001-rand-Allow-warnings.patch
Normal file
24
patches/0001-rand-Allow-warnings.patch
Normal file
@ -0,0 +1,24 @@
|
||||
From 8330c138c91f71ad43b38c026ee14b154f34a1b8 Mon Sep 17 00:00:00 2001
|
||||
From: bjorn3 <17426603+bjorn3@users.noreply.github.com>
|
||||
Date: Sun, 21 Jan 2024 11:12:19 +0000
|
||||
Subject: [PATCH] Allow warnings
|
||||
|
||||
---
|
||||
rand_core/src/lib.rs | 1 -
|
||||
1 file changed, 1 deletion(-)
|
||||
|
||||
diff --git a/rand_core/src/lib.rs b/rand_core/src/lib.rs
|
||||
index a5a7fb1..6c84068 100644
|
||||
--- a/rand_core/src/lib.rs
|
||||
+++ b/rand_core/src/lib.rs
|
||||
@@ -34,7 +34,6 @@
|
||||
)]
|
||||
#![deny(missing_docs)]
|
||||
#![deny(missing_debug_implementations)]
|
||||
-#![doc(test(attr(allow(unused_variables), deny(warnings))))]
|
||||
#![cfg_attr(doc_cfg, feature(doc_cfg))]
|
||||
#![no_std]
|
||||
|
||||
--
|
||||
2.34.1
|
||||
|
@ -61,9 +61,9 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "compiler_builtins"
|
||||
version = "0.1.104"
|
||||
version = "0.1.106"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "99c3f9035afc33f4358773239573f7d121099856753e1bbd2a6a5207098fc741"
|
||||
checksum = "f4ab134a739bafec76aa91ccb15d519a54e569350644a1fea6528d5a0d407e22"
|
||||
dependencies = [
|
||||
"cc",
|
||||
"rustc-std-workspace-core",
|
||||
|
@ -1,3 +1,3 @@
|
||||
[toolchain]
|
||||
channel = "nightly-2023-12-31"
|
||||
channel = "nightly-2024-01-21"
|
||||
components = ["rust-src", "rustc-dev", "llvm-tools"]
|
||||
|
@ -321,10 +321,9 @@ fn dep_symbol_lookup_fn(
|
||||
Linkage::NotLinked | Linkage::IncludedFromDylib => {}
|
||||
Linkage::Static => {
|
||||
let name = crate_info.crate_name[&cnum];
|
||||
sess.dcx()
|
||||
.struct_err(format!("Can't load static lib {}", name))
|
||||
.note("rustc_codegen_cranelift can only load dylibs in JIT mode.")
|
||||
.emit();
|
||||
let mut diag = sess.dcx().struct_err(format!("Can't load static lib {}", name));
|
||||
diag.note("rustc_codegen_cranelift can only load dylibs in JIT mode.");
|
||||
diag.emit();
|
||||
}
|
||||
Linkage::Dynamic => {
|
||||
dylib_paths.push(src.dylib.as_ref().unwrap().0.clone());
|
||||
|
Loading…
Reference in New Issue
Block a user