test_gen: update wasm build command for zig 0.9

This commit is contained in:
Brian Carroll 2022-04-08 16:44:28 +01:00
parent 024fd81a0b
commit 90cd644671

View File

@ -41,7 +41,8 @@ fn build_wasm_platform_and_builtins(out_dir: &str) {
"-target",
"wasm32-wasi",
"-lc",
"-dynamic", // -dynamic ensures libc code goes into the binary
"-dynamic", // ensure libc code goes into the binary
"-rdynamic", // export all symbols
bitcode::BUILTINS_WASM32_OBJ_PATH,
&format!("src/helpers/{}.c", PLATFORM_FILENAME),
&format!("-femit-bin={}/{}.o", out_dir, PLATFORM_FILENAME),