Skip to content

Commit b71205a

Browse files
committed
More unnecessary target features
1 parent 5dbe6f5 commit b71205a

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

crates/coresimd/src/lib.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@
1515
crate_in_paths, no_core, attr_literals, rustc_attrs, stdsimd,
1616
staged_api, fn_must_use, core_float, core_slice_ext, align_offset,
1717
doc_cfg, mmx_target_feature, tbm_target_feature,
18-
sse4a_target_feature)]
18+
sse4a_target_feature, arm_target_feature, aarch64_target_feature,
19+
mips_target_feature)]
1920
#![cfg_attr(test,
2021
feature(proc_macro, test, attr_literals, abi_vectorcall,
2122
untagged_unions))]

crates/coresimd/tests/reductions.rs

+3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
#![feature(stdsimd, sse4a_target_feature, avx512_target_feature)]
2+
#![feature(arm_target_feature)]
3+
#![feature(aarch64_target_feature)]
4+
#![feature(powerpc_target_feature)]
25
#![allow(unused_attributes)]
36

47
#[macro_use]

examples/nbody.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
#![cfg_attr(feature = "strict", deny(warnings))]
77
#![feature(stdsimd)]
8-
#![feature(target_feature)]
8+
#![feature(aarch64_target_feature)] // FIXME(rust-lang/rust#50094)
99
#![cfg_attr(feature = "cargo-clippy",
1010
allow(similar_names, missing_docs_in_private_items,
1111
shadow_reuse, print_stdout))]

0 commit comments

Comments
 (0)