File tree 2 files changed +6
-50
lines changed
library/std/src/sys/sync/rwlock
2 files changed +6
-50
lines changed Original file line number Diff line number Diff line change @@ -12,24 +12,20 @@ cfg_if::cfg_if! {
12
12
) ) ] {
13
13
mod futex;
14
14
pub use futex:: RwLock ;
15
- } else if #[ cfg( target_family = "unix" ) ] {
15
+ } else if #[ cfg( any(
16
+ target_family = "unix" ,
17
+ all( target_os = "windows" , target_vendor = "win7" ) ,
18
+ all( target_vendor = "fortanix" , target_env = "sgx" ) ,
19
+ target_os = "xous" ,
20
+ ) ) ] {
16
21
mod queue;
17
22
pub use queue:: RwLock ;
18
- } else if #[ cfg( all( target_os = "windows" , target_vendor = "win7" ) ) ] {
19
- mod windows7;
20
- pub use windows7:: RwLock ;
21
- } else if #[ cfg( all( target_vendor = "fortanix" , target_env = "sgx" ) ) ] {
22
- mod sgx;
23
- pub use sgx:: RwLock ;
24
23
} else if #[ cfg( target_os = "solid_asp3" ) ] {
25
24
mod solid;
26
25
pub use solid:: RwLock ;
27
26
} else if #[ cfg( target_os = "teeos" ) ] {
28
27
mod teeos;
29
28
pub use teeos:: RwLock ;
30
- } else if #[ cfg( target_os = "xous" ) ] {
31
- mod xous;
32
- pub use xous:: RwLock ;
33
29
} else {
34
30
mod no_threads;
35
31
pub use no_threads:: RwLock ;
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments