Skip to content

Commit 056ecf1

Browse files
authored
wasm-opt with --mvp-features (#904)
1 parent 79c1937 commit 056ecf1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/cmd/build.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -627,7 +627,8 @@ fn do_optimization(
627627
// the memory in our module is imported, `wasm-opt` needs to be told that
628628
// the memory is initialized to zeroes, otherwise it won't run the
629629
// memory-packing pre-pass.
630-
.arg("--zero-filled-memory");
630+
.arg("--zero-filled-memory")
631+
.arg("--mvp-features");
631632
if keep_debug_symbols {
632633
command.arg("-g");
633634
}

0 commit comments

Comments
 (0)