about summary refs log tree commit diff
path: root/compiler/rustc_target/src/lib.rs
diff options
context:
space:
mode:
authorZalathar <Zalathar@users.noreply.github.com>2024-02-10 14:52:57 +1100
committerZalathar <Zalathar@users.noreply.github.com>2024-02-10 18:15:11 +1100
commita2479a4ae75884953eb9eaad083105174549c2ed (patch)
treeb5782561bf26bf14aaa582399e9ccb7a750ac52d /compiler/rustc_target/src/lib.rs
parent7b73e4fd44c86405307afa5f1a03317bc560f746 (diff)
downloadrust-a2479a4ae75884953eb9eaad083105174549c2ed.tar.gz
rust-a2479a4ae75884953eb9eaad083105174549c2ed.zip
Remove unnecessary `min_specialization` after bootstrap
These crates all needed specialization for `newtype_index!`, which will no
longer be necessary when the current nightly eventually becomes the next
bootstrap compiler.
Diffstat (limited to 'compiler/rustc_target/src/lib.rs')
-rw-r--r--compiler/rustc_target/src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_target/src/lib.rs b/compiler/rustc_target/src/lib.rs
index b19c5b6f28f..04c5e60aa6b 100644
--- a/compiler/rustc_target/src/lib.rs
+++ b/compiler/rustc_target/src/lib.rs
@@ -14,7 +14,7 @@
 #![feature(exhaustive_patterns)]
 #![feature(iter_intersperse)]
 #![feature(let_chains)]
-#![feature(min_specialization)]
+#![cfg_attr(bootstrap, feature(min_specialization))]
 #![feature(rustc_attrs)]
 #![feature(step_trait)]
 #![allow(internal_features)]