diff options
-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 6360e1565f..7c5f4e6b4b 100644 --- a/src/unix/mod.rs +++ b/src/unix/mod.rs @@ -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", |