Commit 8a7d925d36

Alex Rønne Petersen <alex@alexrp.com>
2025-05-13 01:01:40
std.Target: Fix requiresLibC() for NetBSD.
1 parent 3d6f83b
Changed files (1)
lib
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,