Skip to content

Commit b535003

Browse files
KobzolAmanieu
authored andcommitted
Remove std-detect dev dependency in core_arch
1 parent 600497f commit b535003

File tree

4 files changed

+2
-6
lines changed

4 files changed

+2
-6
lines changed

library/stdarch/Cargo.lock

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,6 @@ checksum = "b05b61dc5112cbb17e4b6cd61790d9845d13888356391624cbe7e41efeac1e75"
147147
name = "core_arch"
148148
version = "0.1.5"
149149
dependencies = [
150-
"std_detect",
151150
"stdarch-test",
152151
"syscalls",
153152
]

library/stdarch/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 }

library/stdarch/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

library/stdarch/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)