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