We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2938d1c commit 78320c7Copy full SHA for 78320c7
src/unix/mod.rs
@@ -286,12 +286,11 @@ cfg_if! {
286
} else if #[cfg(target_os = "emscripten")] {
287
#[link(name = "c")]
288
extern {}
289
- } else if #[cfg(all(target_os = "netbsd",
290
- cfg_attr(feature = "stdbuild",
291
- target_vendor = "rumprun")))] {
+ } else if #[cfg(all(target_os = "netbsd"))] {
292
// Since we don't use -nodefaultlibs on Rumprun, libc is always pulled
293
// in automatically by the linker. We avoid passing it explicitly, as it
294
// causes some versions of binutils to crash with an assertion failure.
+ #[cfg_attr(feature = "stdbuild", target_vendor = "rumprun")]
295
#[link(name = "m")]
296
297
} else if #[cfg(any(target_os = "macos",
0 commit comments