about summary refs log tree commit diff
path: root/library/std/src
diff options
context:
space:
mode:
authorRalf Jung <post@ralfj.de>2024-09-14 13:44:02 +0200
committerRalf Jung <post@ralfj.de>2024-10-21 15:22:17 +0100
commit56ee492a6e7a917b2b3f888e33dd52a13d3ecb64 (patch)
tree556522c0acb1a55afe973cc12a848f3729783f35 /library/std/src
parentc3e928d8ddc73f5681778208f6c44cf958694e8b (diff)
move strict provenance lints to new feature gate, remove old feature gates
Diffstat (limited to 'library/std/src')
-rw-r--r--library/std/src/lib.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/library/std/src/lib.rs b/library/std/src/lib.rs
index 3ab65238368..8c1a3c76829 100644
--- a/library/std/src/lib.rs
+++ b/library/std/src/lib.rs
@@ -279,6 +279,8 @@
 //
 // Language features:
 // tidy-alphabetical-start
+#![cfg_attr(bootstrap, feature(strict_provenance))]
+#![cfg_attr(not(bootstrap), feature(strict_provenance_lints))]
 #![feature(alloc_error_handler)]
 #![feature(allocator_internals)]
 #![feature(allow_internal_unsafe)]
@@ -336,7 +338,6 @@
 #![feature(error_iter)]
 #![feature(exact_size_is_empty)]
 #![feature(exclusive_wrapper)]
-#![feature(exposed_provenance)]
 #![feature(extend_one)]
 #![feature(float_gamma)]
 #![feature(float_minimum_maximum)]
@@ -362,7 +363,6 @@
 #![feature(slice_range)]
 #![feature(std_internals)]
 #![feature(str_internals)]
-#![feature(strict_provenance)]
 #![feature(strict_provenance_atomic_ptr)]
 #![feature(ub_checks)]
 // tidy-alphabetical-end