diff options
| author | Ronald Kinard <[email protected]> | 2017-02-18 18:50:24 -0600 |
|---|---|---|
| committer | GitHub <[email protected]> | 2017-02-18 18:50:24 -0600 |
| commit | 193d21e4d2c9d8c3fd197d8dbbafb12e39fb42d0 (patch) | |
| tree | 6e8571294b55969a32dfbe8c5077a89e2901eb9b /ctr-std/src/lib.rs | |
| parent | Merge pull request #16 from FenrirWolf/collections (diff) | |
| parent | Add thread local storage support (diff) | |
| download | ctru-rs-193d21e4d2c9d8c3fd197d8dbbafb12e39fb42d0.tar.xz ctru-rs-193d21e4d2c9d8c3fd197d8dbbafb12e39fb42d0.zip | |
Merge pull request #19 from FenrirWolf/thread_local
Implement thread local storage
Diffstat (limited to 'ctr-std/src/lib.rs')
| -rw-r--r-- | ctr-std/src/lib.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ctr-std/src/lib.rs b/ctr-std/src/lib.rs index a2e200b..e0058f5 100644 --- a/ctr-std/src/lib.rs +++ b/ctr-std/src/lib.rs @@ -1,6 +1,7 @@ #![feature(alloc)] #![feature(allow_internal_unstable)] #![feature(box_syntax)] +#![feature(cfg_target_thread_local)] #![feature(collections)] #![feature(collections_bound)] #![feature(collections_range)] @@ -136,6 +137,8 @@ pub use std_unicode::char; pub mod f32; pub mod f64; +#[macro_use] +pub mod thread; pub mod ascii; pub mod collections; pub mod error; |