1
Fork 0

Eliminate UbCheck for non-standard libraries

This commit is contained in:
DianQK 2024-03-10 16:29:39 +08:00
parent 10a7aa14fe
commit 47ed73a7b5
No known key found for this signature in database
GPG key ID: 46BDB1AC96C48912
14 changed files with 118 additions and 45 deletions

View file

@ -221,6 +221,7 @@
//
#![cfg_attr(not(feature = "restricted-std"), stable(feature = "rust1", since = "1.0.0"))]
#![cfg_attr(feature = "restricted-std", unstable(feature = "restricted_std", issue = "none"))]
#![cfg_attr(not(bootstrap), rustc_preserve_ub_checks)]
#![doc(
html_playground_url = "https://play.rust-lang.org/",
issue_tracker_base_url = "https://github.com/rust-lang/rust/issues/",