Skip to content

Commit f9b9e1d

Browse files
committed
Merge pull request rust-lang#162 from arcnmx/patch-1
stdbuild conditional change
2 parents 400a7df + 527b63e commit f9b9e1d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/unix/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ pub const POLLNVAL: ::c_short = 0x20;
132132
pub const IF_NAMESIZE: ::size_t = 16;
133133

134134
cfg_if! {
135-
if #[cfg(feature = "default")] {
135+
if #[cfg(not(stdbuild))] {
136136
// cargo build, don't pull in anything extra as the libstd dep
137137
// already pulls in all libs.
138138
} else if #[cfg(target_env = "musl")] {

0 commit comments

Comments
 (0)