From f3d51edbef7570c4e4867846584a5321420472dd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alex=20R=C3=B8nne=20Petersen?= Date: Mon, 18 May 2026 21:18:14 +0200 Subject: [PATCH] test: add sparc64-linux-none to module test matrix --- test/tests.zig | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/test/tests.zig b/test/tests.zig index 2922b8c89928cf4e856c00cd5beddd4997721138..ce65c75c63b4bcd40c45b316270740a88975458f 100644 --- a/test/tests.zig +++ b/test/tests.zig @@ -995,6 +995,23 @@ const module_test_targets = blk: { .link_libc = true, }, + .{ + .target = .{ + .cpu_arch = .sparc64, + .os_tag = .linux, + .abi = .none, + }, + }, + // SPARC linking support is currently incomplete. + // .{ + // .target = .{ + // .cpu_arch = .sparc64, + // .os_tag = .linux, + // .abi = .gnu, + // }, + // .link_libc = true, + // }, + // Calls are normally lowered to branch instructions that only support +/- 16 MB range when // targeting Thumb. This easily becomes insufficient for our test binaries, so use long // calls to avoid out-of-range relocations. -- 2.54.0