File tree 2 files changed +2
-39
lines changed
library/std/src/sys/thread_local
2 files changed +2
-39
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -28,6 +28,7 @@ cfg_if::cfg_if! {
28
28
all( target_family = "wasm" , not( target_feature = "atomics" ) ) ,
29
29
target_os = "uefi" ,
30
30
target_os = "zkvm" ,
31
+ target_os = "trusty" ,
31
32
) ) ] {
32
33
mod statik;
33
34
pub use statik:: { EagerStorage , LazyStorage , thread_local_inner} ;
@@ -91,6 +92,7 @@ pub(crate) mod guard {
91
92
) ) ,
92
93
target_os = "uefi" ,
93
94
target_os = "zkvm" ,
95
+ target_os = "trusty" ,
94
96
) ) ] {
95
97
pub ( crate ) fn enable( ) {
96
98
// FIXME: Right now there is no concept of "thread exit" on
@@ -170,15 +172,6 @@ pub(crate) mod key {
170
172
pub ( crate ) use xous:: destroy_tls;
171
173
pub ( super ) use xous:: { Key , get, set} ;
172
174
use xous:: { create, destroy} ;
173
- } else if #[ cfg( target_os = "trusty" ) ] {
174
- #[ allow( unused_unsafe) ]
175
- mod racy;
176
- #[ cfg( test) ]
177
- mod tests;
178
- mod trusty;
179
- pub ( super ) use racy:: LazyKey ;
180
- pub ( super ) use trusty:: { Key , get, set} ;
181
- use trusty:: { create, destroy} ;
182
175
}
183
176
}
184
177
}
You can’t perform that action at this time.
0 commit comments