about summary refs log tree commit diff
path: root/compiler/rustc_index/src/lib.rs
diff options
context:
space:
mode:
authorThalia Archibald <thalia@archibald.dev>2025-04-21 23:27:01 -0700
committerThalia Archibald <thalia@archibald.dev>2025-07-19 20:25:35 -0700
commit175afd76180d47b655377768a87a55f8581686f0 (patch)
treedcf97a7c560aec0b82c2dce7b164f682d05af06e /compiler/rustc_index/src/lib.rs
parent9cd918bcbbc26deb005eb4e1bd9a445380195e56 (diff)
downloadrust-175afd76180d47b655377768a87a55f8581686f0.tar.gz
rust-175afd76180d47b655377768a87a55f8581686f0.zip
Stabilize `new_zeroed_alloc`
Diffstat (limited to 'compiler/rustc_index/src/lib.rs')
-rw-r--r--compiler/rustc_index/src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_index/src/lib.rs b/compiler/rustc_index/src/lib.rs
index cc680838e7e..9d647209c6f 100644
--- a/compiler/rustc_index/src/lib.rs
+++ b/compiler/rustc_index/src/lib.rs
@@ -1,9 +1,9 @@
 // tidy-alphabetical-start
 #![cfg_attr(all(feature = "nightly", test), feature(stmt_expr_attributes))]
+#![cfg_attr(bootstrap, feature(new_zeroed_alloc))]
 #![cfg_attr(feature = "nightly", allow(internal_features))]
 #![cfg_attr(feature = "nightly", feature(extend_one, step_trait, test))]
 #![cfg_attr(feature = "nightly", feature(new_range_api))]
-#![cfg_attr(feature = "nightly", feature(new_zeroed_alloc))]
 // tidy-alphabetical-end
 
 pub mod bit_set;