Commit ae789fa50a

Alex Rønne Petersen <alex@alexrp.com>
2025-10-19 22:45:31
test: enable dynamic hexagon-linux-musl with -Dtest-extra-targets
1 parent 022dcbc
Changed files (1)
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 = .{