commit 8a7d925d36ae82f77ea9a65c2a31bfc2ef2bed68 (tree)
parent 3d6f83b331f86f8f6a80cea7b3ca51d02ad85ac0
Author: Alex Rønne Petersen <alex@alexrp.com>
Date: Tue, 13 May 2025 01:01:40 +0200
std.Target: Fix requiresLibC() for NetBSD.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/std/Target.zig b/lib/std/Target.zig
@@ -708,7 +708,6 @@ pub const Os = struct {
pub fn requiresLibC(os: Os) bool {
return switch (os.tag) {
.aix,
- .netbsd,
.driverkit,
.macos,
.ios,
@@ -726,6 +725,7 @@ pub const Os = struct {
.linux,
.windows,
.freebsd,
+ .netbsd,
.freestanding,
.fuchsia,
.ps3,