Commit 46042170cb

Alex Rønne Petersen <alex@alexrp.com>
2025-05-08 19:48:12
std.Target: Fix requiresLibC() for FreeBSD.
1 parent ba9f257
Changed files (1)
lib
lib/std/Target.zig
@@ -695,7 +695,6 @@ pub const Os = struct {
     /// since this is the stable syscall interface.
     pub fn requiresLibC(os: Os) bool {
         return switch (os.tag) {
-            .freebsd,
             .aix,
             .netbsd,
             .driverkit,
@@ -714,6 +713,7 @@ pub const Os = struct {
 
             .linux,
             .windows,
+            .freebsd,
             .freestanding,
             .fuchsia,
             .ps3,