Work around stage0 to remove '@' requirements from TLS
This commit is contained in:
parent
cb5b9a477c
commit
e3fb7062aa
5 changed files with 333 additions and 74 deletions
|
@ -54,6 +54,10 @@ use util;
|
|||
#[cfg(test)] use ptr;
|
||||
#[cfg(test)] use task;
|
||||
|
||||
#[cfg(stage0)]
|
||||
#[path="local_data_priv_stage0.rs"]
|
||||
mod local_data_priv;
|
||||
#[cfg(not(stage0))]
|
||||
mod local_data_priv;
|
||||
pub mod rt;
|
||||
pub mod spawn;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue