summaryrefslogtreecommitdiff
path: root/libc/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'libc/src/lib.rs')
-rw-r--r--libc/src/lib.rs7
1 files changed, 7 insertions, 0 deletions
diff --git a/libc/src/lib.rs b/libc/src/lib.rs
index 2dc4270..6c2e6c8 100644
--- a/libc/src/lib.rs
+++ b/libc/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)]
@@ -113,6 +114,12 @@ cfg_if! {
mod switch;
pub use switch::*;
+ } else if #[cfg(target_os = "vxworks")] {
+ mod fixed_width_ints;
+ pub use fixed_width_ints::*;
+
+ mod vxworks;
+ pub use vxworks::*;
} else if #[cfg(unix)] {
mod fixed_width_ints;
pub use fixed_width_ints::*;