authorgravatar for pat.github@tullmann.orgPat Tullmann <pat.github@tullmann.org> 2025-03-09 14:07:06-07:00
committergravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2025-03-10 06:15:12+01:00
log8e0a4ca4b34a0222d9261d51c34fba8ce2a1d0bc
treec857d1ab91ffd3782afeb6ab71a79f1b8cfd7169
parent539f3effd38fac03cacd81338949650297071491

Enable compiler-rt tests for wasm32-wasi

I think the underlying issue was the same as https://github.com/ziglang/zig/issues/13258 and that has a work-around in LLVM 19 (see https://github.com/llvm/llvm-project/issues/58557). Fixes #15325

1 files changed, 0 insertions(+), 8 deletions(-)

test/tests.zig-8
...@@ -1430,14 +1430,6 @@ pub fn addModuleTests(b: *std.Build, options: ModuleTestOptions) *Step {...@@ -1430,14 +1430,6 @@ pub fn addModuleTests(b: *std.Build, options: ModuleTestOptions) *Step {
1430 test_target.use_llvm == false and mem.eql(u8, options.name, "compiler-rt"))1430 test_target.use_llvm == false and mem.eql(u8, options.name, "compiler-rt"))
1431 continue;1431 continue;
14321432
1433 // TODO get compiler-rt tests passing for wasm32-wasi
1434 // currently causes "LLVM ERROR: Unable to expand fixed point multiplication."
1435 if (target.cpu.arch == .wasm32 and target.os.tag == .wasi and
1436 mem.eql(u8, options.name, "compiler-rt"))
1437 {
1438 continue;
1439 }
1440
1441 // TODO get universal-libc tests passing for other self-hosted backends.1433 // TODO get universal-libc tests passing for other self-hosted backends.
1442 if (target.cpu.arch != .x86_64 and1434 if (target.cpu.arch != .x86_64 and
1443 test_target.use_llvm == false and mem.eql(u8, options.name, "universal-libc"))1435 test_target.use_llvm == false and mem.eql(u8, options.name, "universal-libc"))