diff options
author | Tamir Duberstein <tamird@gmail.com> | 2017-09-11 20:32:18 -0400 |
---|---|---|
committer | Tamir Duberstein <tamird@gmail.com> | 2017-09-12 09:48:21 -0400 |
commit | 8a7069f91e4cc61d13c237975ac3972f920ec25e (patch) | |
tree | 939a59e070b918a23b599f2438de2df1b409a351 /src/unix | |
parent | 0b2fe458a1b03551d91584a110685ac9e163f04d (diff) | |
download | rust-libc-8a7069f91e4cc61d13c237975ac3972f920ec25e.tar.gz |
Make stdbuild a cargo feature
Diffstat (limited to 'src/unix')
-rw-r--r-- | src/unix/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/unix/mod.rs b/src/unix/mod.rs index 52f73474f5..701bc3fe64 100644 --- a/src/unix/mod.rs +++ b/src/unix/mod.rs @@ -234,7 +234,7 @@ cfg_if! { // on dox builds don't pull in anything } else if #[cfg(target_os = "l4re")] { // required libraries for L4Re are linked externally, ATM - } else if #[cfg(all(not(stdbuild), feature = "use_std"))] { + } else if #[cfg(feature = "use_std")] { // cargo build, don't pull in anything extra as the libstd dep // already pulls in all libs. } else if #[cfg(any(all(target_env = "musl", not(target_arch = "mips"))))] { |