Skip to content

Commit

Permalink
Remove Os.kfreebsd reference from build.zig.
Browse files Browse the repository at this point in the history
This is removed in Zig master.
  • Loading branch information
alexrp committed Jul 26, 2024
1 parent a2192af commit 23be3c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.zig
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ pub fn build(b: *std.Build) anyerror!void {
.FFI_EXEC_TRAMPOLINE_TABLE = if (t.isDarwin() and (t.cpu.arch.isARM() or t.cpu.arch == .aarch64)) true else null,
.FFI_MMAP_EXEC_EMUTRAMP_PAX = null, // TODO: Perhaps make this configurable.
.FFI_MMAP_EXEC_WRIT = switch (t.os.tag) {
.freebsd, .kfreebsd, .openbsd, .solaris => true,
.freebsd, .openbsd, .solaris => true,
else => if (t.isDarwin() or t.isAndroid()) true else null,
},
.FFI_NO_RAW_API = null, // TODO: Perhaps make this configurable.
Expand Down

0 comments on commit 23be3c1

Please sign in to comment.