Skip to content

Commit

Permalink
Fix a #[cfg] attribute
Browse files Browse the repository at this point in the history
It looks like this was a mistake of rust-lang#930 but should be easy to fix!
  • Loading branch information
alexcrichton committed Jul 10, 2018
1 parent 37e3a22 commit 30bb481
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/unix/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ cfg_if! {
// Since we don't use -nodefaultlibs on Rumprun, libc is always pulled
// in automatically by the linker. We avoid passing it explicitly, as it
// causes some versions of binutils to crash with an assertion failure.
#[cfg_attr(feature = "stdbuild", target_vendor = "rumprun")]
#[cfg_attr(feature = "stdbuild", cfg(target_vendor = "rumprun"))]
#[link(name = "m")]
extern {}
} else if #[cfg(any(target_os = "macos",
Expand Down

0 comments on commit 30bb481

Please sign in to comment.