diff options
author | Joe Richey <joerichey@google.com> | 2019-07-10 18:03:24 -0700 |
---|---|---|
committer | Joe Richey <joerichey@google.com> | 2019-07-10 19:47:40 -0700 |
commit | 3fa021d7ab36b59e877082d3150d626afabc8454 (patch) | |
tree | f2db3dde05af1d2447afc606f232ed30f6b9b948 /src/lib.rs | |
parent | 956ba427538edb63338aaaffe8372379459ac431 (diff) | |
download | rust-libc-3fa021d7ab36b59e877082d3150d626afabc8454.tar.gz |
Add libc_thread_local cfg and unstable feature
Diffstat (limited to 'src/lib.rs')
-rw-r--r-- | src/lib.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib.rs b/src/lib.rs index 2dc42702fc..0f800cea0a 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -21,6 +21,7 @@ feature = "rustc-dep-of-std", feature(cfg_target_vendor, link_cfg, no_core) )] +#![cfg_attr(libc_thread_local, feature(thread_local))] // Enable extra lints: #![cfg_attr(feature = "extra_traits", deny(missing_debug_implementations))] #![deny(missing_copy_implementations, safe_packed_borrows)] |