authorgravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2025-09-22 01:33:21+02:00
committergravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2025-09-24 01:11:27+02:00
logd6d1fefae91b50cebd73501ff657709a945228f8
tree7c2753f4ce9e7fe0766826de3e225cfda4cb573a
parenta569c7d66433c46efe8a36ee5191b033c98faeab
signaturebadge-check Signed by SSH key SHA256:7B/LJ7bpR1eX8aCXSr4mtd5M45VMPKcx9zY8e95b5QM

test: disable test-link on FreeBSD

https://github.com/ziglang/zig/issues/25323

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

test/link/elf.zig+4
......@@ -2,6 +2,9 @@ pub fn testAll(b: *Build, build_opts: BuildOptions) *Step {
22 _ = build_opts;
33 const elf_step = b.step("test-elf", "Run ELF tests");
44
5 // https://github.com/ziglang/zig/issues/25323
6 if (builtin.os.tag == .freebsd) return elf_step;
7
58 const default_target = b.resolveTargetQuery(.{
69 .cpu_arch = .x86_64, // TODO relax this once ELF linker is able to handle other archs
710 .os_tag = .linux,
......@@ -4285,6 +4288,7 @@ const addStaticLibrary = link.addStaticLibrary;
42854288const expectLinkErrors = link.expectLinkErrors;
42864289const link = @import("link.zig");
42874290const std = @import("std");
4291const builtin = @import("builtin");
42884292
42894293const Build = std.Build;
42904294const BuildOptions = link.BuildOptions;