mirror of
https://codeberg.org/ziglang/zig.git
synced 2025-12-06 05:44:20 +00:00
test: disable test-link on big-endian hosts
https://github.com/ziglang/zig/issues/25961
This commit is contained in:
parent
a0e6d41331
commit
a8e77b7a05
2 changed files with 6 additions and 0 deletions
|
|
@ -5,6 +5,9 @@ pub fn testAll(b: *Build, build_opts: BuildOptions) *Step {
|
|||
// https://github.com/ziglang/zig/issues/25323
|
||||
if (builtin.os.tag == .freebsd) return elf_step;
|
||||
|
||||
// https://github.com/ziglang/zig/issues/25961
|
||||
if (comptime builtin.cpu.arch.endian() == .big) return elf_step;
|
||||
|
||||
const default_target = b.resolveTargetQuery(.{
|
||||
.cpu_arch = .x86_64, // TODO relax this once ELF linker is able to handle other archs
|
||||
.os_tag = .linux,
|
||||
|
|
|
|||
|
|
@ -6,6 +6,9 @@ pub fn testAll(b: *Build, build_opts: BuildOptions) *Step {
|
|||
// https://github.com/ziglang/zig/issues/25323
|
||||
if (builtin.os.tag == .freebsd) return macho_step;
|
||||
|
||||
// https://github.com/ziglang/zig/issues/25961
|
||||
if (comptime builtin.cpu.arch.endian() == .big) return macho_step;
|
||||
|
||||
const x86_64_target = b.resolveTargetQuery(.{
|
||||
.cpu_arch = .x86_64,
|
||||
.os_tag = .macos,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue