about summary refs log tree commit diff
diff options
context:
space:
mode:
authorbjorn3 <17426603+bjorn3@users.noreply.github.com>2025-02-01 16:02:06 +0000
committerbjorn3 <17426603+bjorn3@users.noreply.github.com>2025-02-01 16:02:06 +0000
commit3228d5ee62d37cb92c3a2cc5ef1350d9c85ccb03 (patch)
tree1613f2e95a0403a4d47ac18e8bf00b38030a3ed9
parent77009e99247e4c0227eee840c0736c18251781b4 (diff)
downloadrust-3228d5ee62d37cb92c3a2cc5ef1350d9c85ccb03.tar.gz
rust-3228d5ee62d37cb92c3a2cc5ef1350d9c85ccb03.zip
Rustup to rustc 1.86.0-nightly (854f22563 2025-01-31)
-rw-r--r--rust-toolchain2
-rw-r--r--src/driver/jit.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/rust-toolchain b/rust-toolchain
index 0199bad77a8..e612befc965 100644
--- a/rust-toolchain
+++ b/rust-toolchain
@@ -1,4 +1,4 @@
 [toolchain]
-channel = "nightly-2025-01-23"
+channel = "nightly-2025-02-01"
 components = ["rust-src", "rustc-dev", "llvm-tools"]
 profile = "minimal"
diff --git a/src/driver/jit.rs b/src/driver/jit.rs
index 9ca930e14da..28ae8a55eab 100644
--- a/src/driver/jit.rs
+++ b/src/driver/jit.rs
@@ -90,7 +90,7 @@ pub(crate) fn run_jit(tcx: TyCtxt<'_>, codegen_mode: CodegenMode, jit_args: Vec<
         create_jit_module(tcx, matches!(codegen_mode, CodegenMode::JitLazy));
     let mut cached_context = Context::new();
 
-    let (_, cgus) = tcx.collect_and_partition_mono_items(());
+    let cgus = tcx.collect_and_partition_mono_items(()).codegen_units;
     let mono_items = cgus
         .iter()
         .map(|cgu| cgu.items_in_deterministic_order(tcx).into_iter())