Skip to content

Commit 6102d87

Browse files
committed
stdsimd feature got split up
1 parent 4e36929 commit 6102d87

File tree

2 files changed

+22
-2
lines changed

2 files changed

+22
-2
lines changed

crates/core_simd/src/lib.rs

+21-1
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,30 @@
1212
repr_simd,
1313
simd_ffi,
1414
staged_api,
15-
stdsimd,
1615
strict_provenance,
1716
ptr_metadata
1817
)]
18+
#![cfg_attr(
19+
all(
20+
any(target_arch = "aarch64", target_arch = "arm",),
21+
any(
22+
all(target_feature = "v6", not(target_feature = "mclass")),
23+
all(target_feature = "mclass", target_feature = "dsp"),
24+
)
25+
),
26+
feature(stdarch_arm_dsp)
27+
)]
28+
#![cfg_attr(
29+
any(
30+
target_arch = "aarch64",
31+
all(target_arch = "arm", target_feature = "v7"),
32+
),
33+
feature(stdarch_arm_dsp)
34+
)]
35+
#![cfg_attr(
36+
any(target_arch = "powerpc", target_arch = "powerpc64"),
37+
feature(stdarch_powerpc)
38+
)]
1939
#![warn(missing_docs, clippy::missing_inline_in_public_items)] // basically all items, really
2040
#![deny(unsafe_op_in_unsafe_fn, clippy::undocumented_unsafe_blocks)]
2141
#![allow(internal_features)]

crates/test_helpers/src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#![feature(stdsimd, powerpc_target_feature)]
1+
#![feature(powerpc_target_feature)]
22

33
pub mod array;
44

0 commit comments

Comments
 (0)