diff options
| author | daxpedda <daxpedda@gmail.com> | 2024-02-06 11:14:25 +0100 |
|---|---|---|
| committer | Amanieu d'Antras <amanieu@gmail.com> | 2024-02-14 15:08:29 +0000 |
| commit | 1e8274d34d998bdf678095973a295462650daad4 (patch) | |
| tree | 0d9148a7640d5a3c9be4d1e9a7a64f8877201e8b /library/stdarch/crates/std_detect | |
| parent | 122674ff51fa610e2d7c9fc0da0b090a86ff71ff (diff) | |
| download | rust-1e8274d34d998bdf678095973a295462650daad4.tar.gz rust-1e8274d34d998bdf678095973a295462650daad4.zip | |
Remove last mention of `stdsimd`
Diffstat (limited to 'library/stdarch/crates/std_detect')
| -rw-r--r-- | library/stdarch/crates/std_detect/src/lib.rs | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/library/stdarch/crates/std_detect/src/lib.rs b/library/stdarch/crates/std_detect/src/lib.rs index 19cc021712e..846b17b01d5 100644 --- a/library/stdarch/crates/std_detect/src/lib.rs +++ b/library/stdarch/crates/std_detect/src/lib.rs @@ -20,15 +20,8 @@ #![cfg_attr(test, allow(unused_imports))] #![no_std] #![allow(internal_features)] -// Temporary hack: needed to build against toolchains from before the mass feature renaming. -// Remove this as soon as the stdarch submodule is updated on nightly. -#![allow(stable_features)] -#![cfg_attr(not(feature = "rustc-dep-of-std"), feature(stdsimd))] #![cfg_attr( - all( - any(target_arch = "x86", target_arch = "x86_64"), - feature = "rustc-dep-of-std" - ), + any(target_arch = "x86", target_arch = "x86_64"), feature(stdarch_x86_has_cpuid) )] |
