mirror of
https://github.com/i-net-software/JWebAssembly.git
synced 2025-03-25 07:27:52 +01:00
Enable debug names in Wat2Wasm; use enable-all with Wat2Wasm to compatible with future features.
This commit is contained in:
parent
b251141f45
commit
7692880b7e
@ -286,7 +286,7 @@ public class WasmRule extends TemporaryFolder {
|
|||||||
File wat2WasmFile = new File( getRoot(), "wat2Wasm.wasm" );
|
File wat2WasmFile = new File( getRoot(), "wat2Wasm.wasm" );
|
||||||
// the wat2wasm tool
|
// the wat2wasm tool
|
||||||
ProcessBuilder processBuilder =
|
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 );
|
execute( processBuilder );
|
||||||
|
|
||||||
// create the node script
|
// create the node script
|
||||||
|
Loading…
x
Reference in New Issue
Block a user