Skip to content

Commit ab63550

Browse files
committed
Auto merge of #1037 - alexcrichton:fix, r=alexcrichton
Fix a #[cfg] attribute It looks like this was a mistake of #930 but should be easy to fix!
2 parents 37e3a22 + 30bb481 commit ab63550

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/unix/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@ cfg_if! {
310310
// Since we don't use -nodefaultlibs on Rumprun, libc is always pulled
311311
// in automatically by the linker. We avoid passing it explicitly, as it
312312
// causes some versions of binutils to crash with an assertion failure.
313-
#[cfg_attr(feature = "stdbuild", target_vendor = "rumprun")]
313+
#[cfg_attr(feature = "stdbuild", cfg(target_vendor = "rumprun"))]
314314
#[link(name = "m")]
315315
extern {}
316316
} else if #[cfg(any(target_os = "macos",

0 commit comments

Comments
 (0)