|
262 | 262 | )] |
263 | 263 | #![cfg_attr(any(windows, target_os = "uefi"), feature(round_char_boundary))] |
264 | 264 | #![cfg_attr(target_os = "xous", feature(slice_ptr_len))] |
| 265 | +#![cfg_attr(target_family = "wasm", feature(stdarch_wasm_atomic_wait))] |
265 | 266 | // |
266 | 267 | // Language features: |
267 | 268 | // tidy-alphabetical-start |
|
365 | 366 | #![feature(panic_unwind)] |
366 | 367 | // tidy-alphabetical-end |
367 | 368 | // |
| 369 | +// Library features (std_detect): |
| 370 | +// tidy-alphabetical-start |
| 371 | +#![feature(stdarch_internal)] |
| 372 | +// tidy-alphabetical-end |
| 373 | +// |
368 | 374 | // Only for re-exporting: |
369 | 375 | // tidy-alphabetical-start |
370 | 376 | #![feature(assert_matches)] |
|
380 | 386 | #![feature(get_many_mut)] |
381 | 387 | #![feature(lazy_cell)] |
382 | 388 | #![feature(log_syntax)] |
383 | | -#![feature(stdsimd)] |
384 | 389 | #![feature(test)] |
385 | 390 | #![feature(trace_macros)] |
386 | 391 | // tidy-alphabetical-end |
@@ -619,13 +624,16 @@ pub mod arch { |
619 | 624 |
|
620 | 625 | #[stable(feature = "simd_aarch64", since = "1.60.0")] |
621 | 626 | pub use std_detect::is_aarch64_feature_detected; |
| 627 | + #[unstable(feature = "stdarch_arm_feature_detection", issue = "111190")] |
| 628 | + pub use std_detect::is_arm_feature_detected; |
| 629 | + #[unstable(feature = "is_riscv_feature_detected", issue = "111192")] |
| 630 | + pub use std_detect::is_riscv_feature_detected; |
622 | 631 | #[stable(feature = "simd_x86", since = "1.27.0")] |
623 | 632 | pub use std_detect::is_x86_feature_detected; |
624 | | - #[unstable(feature = "stdsimd", issue = "48556")] |
625 | | - pub use std_detect::{ |
626 | | - is_arm_feature_detected, is_mips64_feature_detected, is_mips_feature_detected, |
627 | | - is_powerpc64_feature_detected, is_powerpc_feature_detected, is_riscv_feature_detected, |
628 | | - }; |
| 633 | + #[unstable(feature = "stdarch_mips_feature_detection", issue = "111188")] |
| 634 | + pub use std_detect::{is_mips64_feature_detected, is_mips_feature_detected}; |
| 635 | + #[unstable(feature = "stdarch_powerpc_feature_detection", issue = "111191")] |
| 636 | + pub use std_detect::{is_powerpc64_feature_detected, is_powerpc_feature_detected}; |
629 | 637 | } |
630 | 638 |
|
631 | 639 | // This was stabilized in the crate root so we have to keep it there. |
|
0 commit comments