Skip to content

Commit

Permalink
Remove last mention of stdsimd
Browse files Browse the repository at this point in the history
  • Loading branch information
daxpedda authored and Amanieu committed Feb 11, 2024
1 parent 5f94a7d commit fa87c41
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions crates/std_detect/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)
)]

Expand Down

0 comments on commit fa87c41

Please sign in to comment.