| ... | @@ -2,6 +2,9 @@ pub fn testAll(b: *Build, build_opts: BuildOptions) *Step { | ... | @@ -2,6 +2,9 @@ pub fn testAll(b: *Build, build_opts: BuildOptions) *Step { |
| 2 | _ = build_opts; | 2 | _ = build_opts; |
| 3 | const elf_step = b.step("test-elf", "Run ELF tests"); | 3 | const elf_step = b.step("test-elf", "Run ELF tests"); |
| 4 | | 4 | |
| | 5 | // https://github.com/ziglang/zig/issues/25323 |
| | 6 | if (builtin.os.tag == .freebsd) return elf_step; |
| | 7 | |
| 5 | const default_target = b.resolveTargetQuery(.{ | 8 | const default_target = b.resolveTargetQuery(.{ |
| 6 | .cpu_arch = .x86_64, // TODO relax this once ELF linker is able to handle other archs | 9 | .cpu_arch = .x86_64, // TODO relax this once ELF linker is able to handle other archs |
| 7 | .os_tag = .linux, | 10 | .os_tag = .linux, |
| ... | @@ -4285,6 +4288,7 @@ const addStaticLibrary = link.addStaticLibrary; | ... | @@ -4285,6 +4288,7 @@ const addStaticLibrary = link.addStaticLibrary; |
| 4285 | const expectLinkErrors = link.expectLinkErrors; | 4288 | const expectLinkErrors = link.expectLinkErrors; |
| 4286 | const link = @import("link.zig"); | 4289 | const link = @import("link.zig"); |
| 4287 | const std = @import("std"); | 4290 | const std = @import("std"); |
| | 4291 | const builtin = @import("builtin"); |
| 4288 | | 4292 | |
| 4289 | const Build = std.Build; | 4293 | const Build = std.Build; |
| 4290 | const BuildOptions = link.BuildOptions; | 4294 | const BuildOptions = link.BuildOptions; |