Skip to content

Commit a34360b

Browse files
KobzolAmanieu
authored andcommitted
Remove std-detect dev dependency in core_arch
1 parent eecb0f1 commit a34360b

File tree

4 files changed

+2
-6
lines changed

4 files changed

+2
-6
lines changed

Cargo.lock

Lines changed: 0 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

crates/core_arch/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ maintenance = { status = "experimental" }
2222

2323
[dev-dependencies]
2424
stdarch-test = { version = "0.*", path = "../stdarch-test" }
25-
std_detect = { version = "0.*", path = "../std_detect" }
2625

2726
[target.'cfg(all(target_arch = "x86_64", target_os = "linux"))'.dev-dependencies]
2827
syscalls = { version = "0.6.18", default-features = false }

crates/core_arch/src/lib.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,9 +75,7 @@
7575
#[cfg(test)]
7676
#[macro_use]
7777
extern crate std;
78-
#[cfg(test)]
79-
#[macro_use]
80-
extern crate std_detect;
78+
8179
#[path = "mod.rs"]
8280
mod core_arch;
8381

crates/simd-test-macro/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ pub fn simd_test(
8989
for feature in target_features {
9090
let q = quote_spanned! {
9191
proc_macro2::Span::call_site() =>
92-
if !#macro_test!(#feature) {
92+
if !::std::arch::#macro_test!(#feature) {
9393
missing_features.push(#feature);
9494
}
9595
};

0 commit comments

Comments
 (0)