File tree Expand file tree Collapse file tree 4 files changed +8
-8
lines changed Expand file tree Collapse file tree 4 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -23,13 +23,8 @@ is-it-maintained-open-issues = { repository = "rust-lang-nursery/stdsimd" }
23
23
maintenance = { status = " experimental" }
24
24
25
25
[dependencies ]
26
- libc = " 0.2"
26
+ libc = { version = " 0.2" , default-features = false }
27
27
cfg-if = { version = " ^0.1.6" , default-features = false }
28
- rustc-std-workspace-core = { version = " 1.0.0" , optional = true }
29
-
30
- [features ]
31
- default = []
32
- rustc-dep-of-std = [ ' libc/rustc-dep-of-std' , ' rustc-std-workspace-core' ]
33
28
34
29
[dev-dependencies ]
35
30
core_arch = { version = " 0.1.3" , path = " ../core_arch" }
Original file line number Diff line number Diff line change @@ -68,7 +68,7 @@ cfg_if! {
68
68
// On x86/x86_64 no OS specific functionality is required.
69
69
#[ path = "os/x86.rs" ]
70
70
mod os;
71
- } else if #[ cfg( target_os = "linux" ) ] {
71
+ } else if #[ cfg( all ( target_os = "linux" , feature = "use_std" ) ) ] {
72
72
#[ path = "os/linux/mod.rs" ]
73
73
mod os;
74
74
} else if #[ cfg( target_os = "freebsd" ) ] {
Original file line number Diff line number Diff line change 11
11
//! * `powerpc`: [`is_powerpc_feature_detected`]
12
12
//! * `powerpc64`: [`is_powerpc64_feature_detected`]
13
13
14
+ #![ unstable( feature = "stdsimd" , issue = "27731" ) ]
14
15
#![ feature( const_fn, integer_atomics, staged_api, stdsimd) ]
15
16
#![ feature( doc_cfg, allow_internal_unstable) ]
16
17
#![ cfg_attr( feature = "cargo-clippy" , allow( clippy:: shadow_reuse) ) ]
21
22
#![ cfg_attr( target_os = "linux" , feature( linkage) ) ]
22
23
#![ cfg_attr( all( target_os = "freebsd" , target_arch = "aarch64" ) , feature( asm) ) ]
23
24
#![ no_std]
24
- #![ unstable( feature = "stdsimd" , issue = "27731" ) ]
25
25
26
26
#[ cfg( test) ]
27
27
#[ macro_use( println) ]
Original file line number Diff line number Diff line change
1
+ //! `std_detect`
2
+
3
+ #[ doc( hidden) ] // unstable implementation detail
4
+ #[ unstable( feature = "stdsimd" , issue = "27731" ) ]
5
+ pub mod detect;
You can’t perform that action at this time.
0 commit comments