about summary refs log tree commit diff
diff options
context:
space:
mode:
authorbjorn3 <17426603+bjorn3@users.noreply.github.com>2024-12-04 11:25:10 +0000
committerbjorn3 <17426603+bjorn3@users.noreply.github.com>2024-12-04 11:25:10 +0000
commiteff1c5d627196461ac458b22b6806dc1c2720065 (patch)
tree4f8b5676198c5f88f524488706f307e1ed91529f
parent812edd21e025204b831545d6654680bf0cf924b1 (diff)
downloadrust-eff1c5d627196461ac458b22b6806dc1c2720065.tar.gz
rust-eff1c5d627196461ac458b22b6806dc1c2720065.zip
Rustup to rustc 1.85.0-nightly (c44b3d50f 2024-12-03)
-rw-r--r--patches/0022-coretests-Disable-not-compiling-tests.patch4
-rw-r--r--patches/0027-coretests-128bit-atomic-operations.patch7
-rw-r--r--rust-toolchain2
-rw-r--r--src/driver/jit.rs2
4 files changed, 7 insertions, 8 deletions
diff --git a/patches/0022-coretests-Disable-not-compiling-tests.patch b/patches/0022-coretests-Disable-not-compiling-tests.patch
index 1860810e7f3..161173d4765 100644
--- a/patches/0022-coretests-Disable-not-compiling-tests.patch
+++ b/patches/0022-coretests-Disable-not-compiling-tests.patch
@@ -38,7 +38,7 @@ index 42a26ae..5ac1042 100644
 @@ -1,3 +1,4 @@
 +#![cfg(test)]
  // tidy-alphabetical-start
- #![cfg_attr(bootstrap, feature(const_three_way_compare))]
- #![cfg_attr(bootstrap, feature(strict_provenance))]
+ #![cfg_attr(target_has_atomic = "128", feature(integer_atomics))]
+ #![cfg_attr(test, feature(cfg_match))]
 --
 2.21.0 (Apple Git-122)
diff --git a/patches/0027-coretests-128bit-atomic-operations.patch b/patches/0027-coretests-128bit-atomic-operations.patch
index 59653c6e875..06840624cef 100644
--- a/patches/0027-coretests-128bit-atomic-operations.patch
+++ b/patches/0027-coretests-128bit-atomic-operations.patch
@@ -14,10 +14,9 @@ diff --git a/lib.rs b/lib.rs
 index 1e336bf..35e6f54 100644
 --- a/lib.rs
 +++ b/lib.rs
-@@ -2,7 +2,6 @@
- #![cfg_attr(bootstrap, feature(const_three_way_compare))]
- #![cfg_attr(bootstrap, feature(strict_provenance))]
- #![cfg_attr(not(bootstrap), feature(strict_provenance_lints))]
+@@ -2,6 +2,5 @@
+ #![cfg(test)]
+ // tidy-alphabetical-start
 -#![cfg_attr(target_has_atomic = "128", feature(integer_atomics))]
  #![cfg_attr(test, feature(cfg_match))]
  #![feature(alloc_layout_extra)]
diff --git a/rust-toolchain b/rust-toolchain
index aa4773a13e2..fe9719628d6 100644
--- a/rust-toolchain
+++ b/rust-toolchain
@@ -1,4 +1,4 @@
 [toolchain]
-channel = "nightly-2024-11-28"
+channel = "nightly-2024-12-04"
 components = ["rust-src", "rustc-dev", "llvm-tools"]
 profile = "minimal"
diff --git a/src/driver/jit.rs b/src/driver/jit.rs
index f44fd615bd8..3405ce19ffd 100644
--- a/src/driver/jit.rs
+++ b/src/driver/jit.rs
@@ -11,7 +11,7 @@ use cranelift_jit::{JITBuilder, JITModule};
 use rustc_codegen_ssa::CrateInfo;
 use rustc_middle::mir::mono::MonoItem;
 use rustc_session::Session;
-use rustc_span::Symbol;
+use rustc_span::sym;
 
 use crate::debuginfo::TypeDebugContext;
 use crate::prelude::*;