File tree Expand file tree Collapse file tree 4 files changed +4
-7
lines changed Expand file tree Collapse file tree 4 files changed +4
-7
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ maintenance = { status = "experimental" }
22
22
23
23
[dev-dependencies ]
24
24
stdarch-test = { version = " 0.*" , path = " ../stdarch-test" }
25
- std_detect = { version = " 0.*" , path = " ../std_detect" }
25
+ # std_detect = { version = "0.*", path = "../std_detect" }
26
26
27
27
[target .'cfg(all(target_arch = "x86_64", target_os = "linux"))' .dev-dependencies ]
28
28
syscalls = { version = " 0.6.18" , default-features = false }
Original file line number Diff line number Diff line change 75
75
#[ cfg( test) ]
76
76
#[ macro_use]
77
77
extern crate std;
78
- #[ cfg( test) ]
79
- #[ macro_use]
80
- extern crate std_detect;
78
+
81
79
#[ path = "mod.rs" ]
82
80
mod core_arch;
83
81
Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ pub fn simd_test(
66
66
"s390x" => "is_s390x_feature_detected" ,
67
67
t => panic ! ( "unknown target: {t}" ) ,
68
68
} ;
69
- let macro_test = Ident :: new ( macro_test, Span :: call_site ( ) ) ;
69
+ let macro_test = Ident :: new ( & macro_test, Span :: call_site ( ) ) ;
70
70
71
71
let skipped_functions = env:: var ( "STDARCH_TEST_SKIP_FUNCTION" ) . unwrap_or_default ( ) ;
72
72
let skipped_features = env:: var ( "STDARCH_TEST_SKIP_FEATURE" ) . unwrap_or_default ( ) ;
@@ -89,7 +89,7 @@ pub fn simd_test(
89
89
for feature in target_features {
90
90
let q = quote_spanned ! {
91
91
proc_macro2:: Span :: call_site( ) =>
92
- if !#macro_test!( #feature) {
92
+ if !:: std :: arch :: #macro_test!( #feature) {
93
93
missing_features. push( #feature) ;
94
94
}
95
95
} ;
You can’t perform that action at this time.
0 commit comments