zig

fork of https://codeberg.org/ziglang/zig
Log | Files | Refs | README | LICENSE

commit ae789fa50a60327f01041a06f95436a8fc083e4e (tree)
parent 022dcbc37a2cda002357792c2227c24d43c769ea
Author: Alex Rønne Petersen <alex@alexrp.com>
Date:   Sun, 19 Oct 2025 22:45:31 +0200

test: enable dynamic hexagon-linux-musl with -Dtest-extra-targets

Diffstat:
Mtest/tests.zig | 21++++++++++-----------
1 file changed, 10 insertions(+), 11 deletions(-)

diff --git a/test/tests.zig b/test/tests.zig @@ -40,7 +40,7 @@ const test_targets = blk: { // getBaselineCpuFeatures calls populateDependencies which has a O(N ^ 2) algorithm // (where N is roughly 160, which technically makes it O(1), but it adds up to a // lot of branches) - @setEvalBranchQuota(50000); + @setEvalBranchQuota(60000); break :blk [_]TestTarget{ // Native Targets @@ -397,16 +397,15 @@ const test_targets = blk: { }) catch unreachable, .link_libc = true, }, - // Currently crashes in qemu-hexagon. - // .{ - // .target = std.Target.Query.parse(.{ - // .arch_os_abi = "hexagon-linux-musl", - // .cpu_features = "baseline+long_calls", - // }) catch unreachable, - // .linkage = .dynamic, - // .link_libc = true, - // .extra_target = true, - // }, + .{ + .target = std.Target.Query.parse(.{ + .arch_os_abi = "hexagon-linux-musl", + .cpu_features = "baseline+long_calls", + }) catch unreachable, + .linkage = .dynamic, + .link_libc = true, + .extra_target = true, + }, .{ .target = .{