authorgravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2025-11-18 00:25:16+01:00
committergravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2025-11-19 01:42:45+01:00
loga8e77b7a059d02bd86d4388b42b8d7b6bef52360
treec1b864bc582d481b8821ed92f851c7e67d702787
parenta0e6d413315e2006bfb11999c7cc4f0a6c272f0e
signaturebadge-check Signed by SSH key SHA256:7B/LJ7bpR1eX8aCXSr4mtd5M45VMPKcx9zY8e95b5QM

test: disable test-link on big-endian hosts

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

2 files changed, 6 insertions(+), 0 deletions(-)

test/link/elf.zig+3
......@@ -5,6 +5,9 @@ pub fn testAll(b: *Build, build_opts: BuildOptions) *Step {
55 // https://github.com/ziglang/zig/issues/25323
66 if (builtin.os.tag == .freebsd) return elf_step;
77
8 // https://github.com/ziglang/zig/issues/25961
9 if (comptime builtin.cpu.arch.endian() == .big) return elf_step;
10
811 const default_target = b.resolveTargetQuery(.{
912 .cpu_arch = .x86_64, // TODO relax this once ELF linker is able to handle other archs
1013 .os_tag = .linux,
test/link/macho.zig+3
......@@ -6,6 +6,9 @@ pub fn testAll(b: *Build, build_opts: BuildOptions) *Step {
66 // https://github.com/ziglang/zig/issues/25323
77 if (builtin.os.tag == .freebsd) return macho_step;
88
9 // https://github.com/ziglang/zig/issues/25961
10 if (comptime builtin.cpu.arch.endian() == .big) return macho_step;
11
912 const x86_64_target = b.resolveTargetQuery(.{
1013 .cpu_arch = .x86_64,
1114 .os_tag = .macos,