stdbuild conditional change

Building with cargo doesn't necessarily imply this isn't a `stdbuild` libc. This logic is more consistent with the rest of the repo.
This commit is contained in:
arcnmx 2016-01-29 13:54:34 -05:00
parent 400a7df23a
commit 527b63e61c

View File

@ -132,7 +132,7 @@ pub const POLLNVAL: ::c_short = 0x20;
pub const IF_NAMESIZE: ::size_t = 16;
cfg_if! {
if #[cfg(feature = "default")] {
if #[cfg(not(stdbuild))] {
// cargo build, don't pull in anything extra as the libstd dep
// already pulls in all libs.
} else if #[cfg(target_env = "musl")] {