We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d5d989e commit 59904c6Copy full SHA for 59904c6
src/unix/mod.rs
@@ -239,7 +239,8 @@ cfg_if! {
239
} else if #[cfg(target_os = "emscripten")] {
240
#[link(name = "c")]
241
extern {}
242
- } else if #[cfg(all(target_os = "netbsd", target_vendor = "rumprun"))] {
+ } else if #[cfg(all(stdbuild,
243
+ target_os = "netbsd", target_vendor = "rumprun"))] {
244
// Since we don't use -nodefaultlibs on Rumprun, libc is always pulled
245
// in automatically by the linker. We avoid passing it explicitly, as it
246
// causes some versions of binutils to crash with an assertion failure.
0 commit comments