Skip to content

Commit

Permalink
stdsimd feature got split up
Browse files Browse the repository at this point in the history
  • Loading branch information
RalfJung committed Feb 9, 2024
1 parent 4e36929 commit 6102d87
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 2 deletions.
22 changes: 21 additions & 1 deletion crates/core_simd/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,30 @@
repr_simd,
simd_ffi,
staged_api,
stdsimd,
strict_provenance,
ptr_metadata
)]
#![cfg_attr(
all(
any(target_arch = "aarch64", target_arch = "arm",),
any(
all(target_feature = "v6", not(target_feature = "mclass")),
all(target_feature = "mclass", target_feature = "dsp"),
)
),
feature(stdarch_arm_dsp)
)]
#![cfg_attr(
any(
target_arch = "aarch64",
all(target_arch = "arm", target_feature = "v7"),
),
feature(stdarch_arm_dsp)
)]
#![cfg_attr(
any(target_arch = "powerpc", target_arch = "powerpc64"),
feature(stdarch_powerpc)
)]
#![warn(missing_docs, clippy::missing_inline_in_public_items)] // basically all items, really
#![deny(unsafe_op_in_unsafe_fn, clippy::undocumented_unsafe_blocks)]
#![allow(internal_features)]
Expand Down
2 changes: 1 addition & 1 deletion crates/test_helpers/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#![feature(stdsimd, powerpc_target_feature)]
#![feature(powerpc_target_feature)]

pub mod array;

Expand Down

0 comments on commit 6102d87

Please sign in to comment.