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