File tree Expand file tree Collapse file tree 3 files changed +6
-26
lines changed Expand file tree Collapse file tree 3 files changed +6
-26
lines changed Original file line number Diff line number Diff line change @@ -574,18 +574,6 @@ version = "0.1.25"
574
574
source = " registry+https://github.com/rust-lang/crates.io-index"
575
575
checksum = " 989e6739f80c4ad5b13e0fd7fe89531180375b18520cc8c82080e4dc4035b84f"
576
576
577
- [[package ]]
578
- name = " rustc-std-workspace-alloc"
579
- version = " 1.0.1"
580
- source = " registry+https://github.com/rust-lang/crates.io-index"
581
- checksum = " f9d441c3b2ebf55cebf796bfdc265d67fa09db17b7bb6bd4be75c509e1e8fec3"
582
-
583
- [[package ]]
584
- name = " rustc-std-workspace-core"
585
- version = " 1.0.1"
586
- source = " registry+https://github.com/rust-lang/crates.io-index"
587
- checksum = " aa9c45b374136f52f2d6311062c7146bff20fec063c3f5d46a410bd937746955"
588
-
589
577
[[package ]]
590
578
name = " ryu"
591
579
version = " 1.0.20"
@@ -688,16 +676,6 @@ dependencies = [
688
676
" syn 2.0.102" ,
689
677
]
690
678
691
- [[package ]]
692
- name = " std_detect"
693
- version = " 0.1.5"
694
- dependencies = [
695
- " cfg-if" ,
696
- " libc" ,
697
- " rustc-std-workspace-alloc" ,
698
- " rustc-std-workspace-core" ,
699
- ]
700
-
701
679
[[package ]]
702
680
name = " stdarch-gen-arm"
703
681
version = " 0.1.0"
@@ -752,7 +730,6 @@ dependencies = [
752
730
" core_arch" ,
753
731
" quickcheck" ,
754
732
" rand" ,
755
- " std_detect" ,
756
733
]
757
734
758
735
[[package ]]
Original file line number Diff line number Diff line change @@ -12,7 +12,6 @@ default-run = "hex"
12
12
13
13
[dependencies ]
14
14
core_arch = { path = " ../crates/core_arch" }
15
- std_detect = { path = " ../crates/std_detect" }
16
15
quickcheck = " 1.0"
17
16
rand = " 0.8"
18
17
Original file line number Diff line number Diff line change @@ -36,9 +36,13 @@ use std::{
36
36
} ;
37
37
38
38
#[ cfg( target_arch = "x86" ) ]
39
- use { core_arch:: arch:: x86:: * , std_detect :: is_x86_feature_detected } ;
39
+ use core_arch:: arch:: x86:: * ;
40
40
#[ cfg( target_arch = "x86_64" ) ]
41
- use { core_arch:: arch:: x86_64:: * , std_detect:: is_x86_feature_detected} ;
41
+ use core_arch:: arch:: x86_64:: * ;
42
+ #[ cfg( target_arch = "x86" ) ]
43
+ use std:: is_x86_feature_detected;
44
+ #[ cfg( target_arch = "x86_64" ) ]
45
+ use std:: is_x86_feature_detected;
42
46
43
47
fn main ( ) {
44
48
let mut input = Vec :: new ( ) ;
You can’t perform that action at this time.
0 commit comments