Enable debug names in Wat2Wasm; use enable-all with Wat2Wasm to compatible with future features.

This commit is contained in:
Volker Berlin 2020-04-26 14:03:06 +02:00
parent b251141f45
commit 7692880b7e

View File

@ -286,7 +286,7 @@ public class WasmRule extends TemporaryFolder {
File wat2WasmFile = new File( getRoot(), "wat2Wasm.wasm" );
// the wat2wasm tool
ProcessBuilder processBuilder =
new ProcessBuilder( cmd, watFile.toString(), "-o", wat2WasmFile.toString(), "--enable-saturating-float-to-int", "--enable-sign-extension", "--enable-multi-value", "--enable-exceptions", "--enable-reference-types" );
new ProcessBuilder( cmd, watFile.toString(), "-o", wat2WasmFile.toString(), "--debug-names", "--enable-all" );
execute( processBuilder );
// create the node script