test/link: fix Wasm archive test

As memcpy is now part of compiler-rt, we no longer expect
any imports in the binary.
This commit is contained in:
Luuk de Gram 2022-09-19 16:34:20 +02:00 committed by Andrew Kelley
parent f5edaa96dd
commit 74108bb9c0

View File

@ -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