From ae789fa50a60327f01041a06f95436a8fc083e4e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alex=20R=C3=B8nne=20Petersen?= Date: Sun, 19 Oct 2025 22:45:31 +0200 Subject: [PATCH] test: enable dynamic hexagon-linux-musl with -Dtest-extra-targets --- test/tests.zig | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/test/tests.zig b/test/tests.zig index 3625b560cdf623aacfe07ea70fc553e4e00ec276..5ae056f0e4f9bdffdabcaa0366797dcfeb210175 100644 --- 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 = .{ -- 2.54.0