Skip to content

Commit 60ef392

Browse files
committed
Rustup to rustc 1.77.0-nightly (4cb17b4 2024-01-20)
1 parent 9ab8588 commit 60ef392

File tree

4 files changed

+30
-7
lines changed

4 files changed

+30
-7
lines changed
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
From 8330c138c91f71ad43b38c026ee14b154f34a1b8 Mon Sep 17 00:00:00 2001
2+
From: bjorn3 <17426603+bjorn3@users.noreply.github.com>
3+
Date: Sun, 21 Jan 2024 11:12:19 +0000
4+
Subject: [PATCH] Allow warnings
5+
6+
---
7+
rand_core/src/lib.rs | 1 -
8+
1 file changed, 1 deletion(-)
9+
10+
diff --git a/rand_core/src/lib.rs b/rand_core/src/lib.rs
11+
index a5a7fb1..6c84068 100644
12+
--- a/rand_core/src/lib.rs
13+
+++ b/rand_core/src/lib.rs
14+
@@ -34,7 +34,6 @@
15+
)]
16+
#![deny(missing_docs)]
17+
#![deny(missing_debug_implementations)]
18+
-#![doc(test(attr(allow(unused_variables), deny(warnings))))]
19+
#![cfg_attr(doc_cfg, feature(doc_cfg))]
20+
#![no_std]
21+
22+
--
23+
2.34.1
24+

patches/stdlib-lock.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,9 @@ dependencies = [
6161

6262
[[package]]
6363
name = "compiler_builtins"
64-
version = "0.1.104"
64+
version = "0.1.106"
6565
source = "registry+https://github.com/rust-lang/crates.io-index"
66-
checksum = "99c3f9035afc33f4358773239573f7d121099856753e1bbd2a6a5207098fc741"
66+
checksum = "f4ab134a739bafec76aa91ccb15d519a54e569350644a1fea6528d5a0d407e22"
6767
dependencies = [
6868
"cc",
6969
"rustc-std-workspace-core",

rust-toolchain

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
[toolchain]
2-
channel = "nightly-2023-12-31"
2+
channel = "nightly-2024-01-21"
33
components = ["rust-src", "rustc-dev", "llvm-tools"]

src/driver/jit.rs

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -321,10 +321,9 @@ fn dep_symbol_lookup_fn(
321321
Linkage::NotLinked | Linkage::IncludedFromDylib => {}
322322
Linkage::Static => {
323323
let name = crate_info.crate_name[&cnum];
324-
sess.dcx()
325-
.struct_err(format!("Can't load static lib {}", name))
326-
.note("rustc_codegen_cranelift can only load dylibs in JIT mode.")
327-
.emit();
324+
let mut diag = sess.dcx().struct_err(format!("Can't load static lib {}", name));
325+
diag.note("rustc_codegen_cranelift can only load dylibs in JIT mode.");
326+
diag.emit();
328327
}
329328
Linkage::Dynamic => {
330329
dylib_paths.push(src.dylib.as_ref().unwrap().0.clone());

0 commit comments

Comments
 (0)