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"
574574source = " registry+https://github.com/rust-lang/crates.io-index"
575575checksum = " 989e6739f80c4ad5b13e0fd7fe89531180375b18520cc8c82080e4dc4035b84f"
576576
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-
589577[[package ]]
590578name = " ryu"
591579version = " 1.0.20"
@@ -688,16 +676,6 @@ dependencies = [
688676 " syn 2.0.102" ,
689677]
690678
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-
701679[[package ]]
702680name = " stdarch-gen-arm"
703681version = " 0.1.0"
@@ -752,7 +730,6 @@ dependencies = [
752730 " core_arch" ,
753731 " quickcheck" ,
754732 " rand" ,
755- " std_detect" ,
756733]
757734
758735[[package ]]
Original file line number Diff line number Diff line change @@ -12,7 +12,6 @@ default-run = "hex"
1212
1313[dependencies ]
1414core_arch = { path = " ../crates/core_arch" }
15- std_detect = { path = " ../crates/std_detect" }
1615quickcheck = " 1.0"
1716rand = " 0.8"
1817
Original file line number Diff line number Diff line change @@ -36,9 +36,13 @@ use std::{
3636} ;
3737
3838#[ cfg( target_arch = "x86" ) ]
39- use { core_arch:: arch:: x86:: * , std_detect :: is_x86_feature_detected } ;
39+ use core_arch:: arch:: x86:: * ;
4040#[ 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;
4246
4347fn main ( ) {
4448 let mut input = Vec :: new ( ) ;
You can’t perform that action at this time.
0 commit comments