File tree Expand file tree Collapse file tree 2 files changed +6
-50
lines changed
library/std/src/sys/sync/rwlock Expand file tree Collapse file tree 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! {
1212 ) ) ] {
1313 mod futex;
1414 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+ ) ) ] {
1621 mod queue;
1722 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 ;
2423 } else if #[ cfg( target_os = "solid_asp3" ) ] {
2524 mod solid;
2625 pub use solid:: RwLock ;
2726 } else if #[ cfg( target_os = "teeos" ) ] {
2827 mod teeos;
2928 pub use teeos:: RwLock ;
30- } else if #[ cfg( target_os = "xous" ) ] {
31- mod xous;
32- pub use xous:: RwLock ;
3329 } else {
3430 mod no_threads;
3531 pub use no_threads:: RwLock ;
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments