motiejus/zig

fork of https://codeberg.org/ziglang/zig
git clone https://git.jakstys.lt/motiejus/zig.git
Log | Tree | Refs | README | LICENSE

commit 74108bb9c0be84004d473f9fdf4cb669f071cfd7 (tree)
parent f5edaa96dd7c820ffb7c5b8fc8da849a620d69b1
Author: Luuk de Gram <luuk@degram.dev>
Date:   Mon, 19 Sep 2022 16:34:20 +0200

test/link: fix Wasm archive test

As memcpy is now part of compiler-rt, we no longer expect
any imports in the binary.

Diffstat:
Mtest/link/wasm/archive/build.zig | 3---
1 file changed, 0 insertions(+), 3 deletions(-)

diff --git a/test/link/wasm/archive/build.zig b/test/link/wasm/archive/build.zig @@ -18,9 +18,6 @@ pub fn build(b: *Builder) void { lib.strip = false; const check = lib.checkObject(.wasm); - check.checkStart("Section import"); - check.checkNext("entries 1"); // __truncsfhf2 should have been resolved, so only 1 import (compiler-rt's memcpy). - check.checkStart("Section custom"); check.checkNext("name __truncsfhf2"); // Ensure it was imported and resolved