authorgravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2025-05-08 19:48:12+02:00
committergravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2025-05-10 12:19:26+02:00
log46042170cba21cd91a090c20c2d5c6840648a0ad
treef33e0bec8ec81014f3c18e9ea443f5f328f65b47
parentba9f2571b709c1abb64b68095b534d441ddff295
signaturebadge-check Signed by SSH key SHA256:7B/LJ7bpR1eX8aCXSr4mtd5M45VMPKcx9zY8e95b5QM

std.Target: Fix requiresLibC() for FreeBSD.


1 files changed, 1 insertions(+), 1 deletions(-)

lib/std/Target.zig+1-1
...@@ -695,7 +695,6 @@ pub const Os = struct {...@@ -695,7 +695,6 @@ pub const Os = struct {
695 /// since this is the stable syscall interface.695 /// since this is the stable syscall interface.
696 pub fn requiresLibC(os: Os) bool {696 pub fn requiresLibC(os: Os) bool {
697 return switch (os.tag) {697 return switch (os.tag) {
698 .freebsd,
699 .aix,698 .aix,
700 .netbsd,699 .netbsd,
701 .driverkit,700 .driverkit,
...@@ -714,6 +713,7 @@ pub const Os = struct {...@@ -714,6 +713,7 @@ pub const Os = struct {
714713
715 .linux,714 .linux,
716 .windows,715 .windows,
716 .freebsd,
717 .freestanding,717 .freestanding,
718 .fuchsia,718 .fuchsia,
719 .ps3,719 .ps3,