authorgravatar for luuk@degram.devLuuk de Gram <luuk@degram.dev> 2022-09-19 16:34:20+02:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2022-10-15 07:02:38-07:00
log74108bb9c0be84004d473f9fdf4cb669f071cfd7
treea6f7a8288c4c14ad67f7da4de384ecad69eac999
parentf5edaa96dd7c820ffb7c5b8fc8da849a620d69b1

test/link: fix Wasm archive test

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

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

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