Skip to content

Commit 5c95d8d

Browse files
committed
wrap target_vendor with stdbuild
1 parent f9c3968 commit 5c95d8d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/unix/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@ cfg_if! {
286286
} else if #[cfg(target_os = "emscripten")] {
287287
#[link(name = "c")]
288288
extern {}
289-
} else if #[cfg(all(target_os = "netbsd", target_vendor = "rumprun"))] {
289+
} else if #[cfg(all(target_os = "netbsd", cfg_attr(feature = "stdbuild", target_vendor = "rumprun")))] {
290290
// Since we don't use -nodefaultlibs on Rumprun, libc is always pulled
291291
// in automatically by the linker. We avoid passing it explicitly, as it
292292
// causes some versions of binutils to crash with an assertion failure.

0 commit comments

Comments
 (0)