about summary refs log tree commit diff
path: root/library/std/src/lib.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-05-02 09:21:43 +0000
committerbors <bors@rust-lang.org>2024-05-02 09:21:43 +0000
commitf5efc3c286a8e625f7932f9e6f52e5812a4b67fc (patch)
tree20dddafe47e427c6419b05f3e3c8ec3d658f938a /library/std/src/lib.rs
parentfcc06c894b17f4d0c80b8934ea5f27faa894c960 (diff)
parent44988e25770e87949e282f606dee702906bd2eed (diff)
downloadrust-f5efc3c286a8e625f7932f9e6f52e5812a4b67fc.tar.gz
rust-f5efc3c286a8e625f7932f9e6f52e5812a4b67fc.zip
Auto merge of #124521 - Mark-Simulacrum:bootstrap-bump, r=albertlarsan68
Bump bootstrap compiler to latest beta

https://forge.rust-lang.org/release/process.html#master-bootstrap-update-t-2-day-tuesday

This also cherry-picks d716d72586548963f32e5c8d57c41db0065fa6e0 from the beta branching, to continue to workaround #122758.

r? bootstrap
Diffstat (limited to 'library/std/src/lib.rs')
-rw-r--r--library/std/src/lib.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/library/std/src/lib.rs b/library/std/src/lib.rs
index fb63445c22a..27b46b46204 100644
--- a/library/std/src/lib.rs
+++ b/library/std/src/lib.rs
@@ -224,7 +224,7 @@
             `#![no_std]` or overriding this warning by enabling this feature."
     )
 )]
-#![cfg_attr(not(bootstrap), rustc_preserve_ub_checks)]
+#![rustc_preserve_ub_checks]
 #![doc(
     html_playground_url = "https://play.rust-lang.org/",
     issue_tracker_base_url = "https://github.com/rust-lang/rust/issues/",
@@ -592,7 +592,6 @@ pub mod net;
 pub mod num;
 pub mod os;
 pub mod panic;
-#[cfg(not(bootstrap))]
 #[unstable(feature = "core_pattern_types", issue = "none")]
 pub mod pat;
 pub mod path;