[Wasm] Don't generate wat format by default in box tests

Gives ~15% tests speedup
Use kotlin.wasm.debugMode=1 to enable old behaviour
This commit is contained in:
Svyatoslav Kuzmich
2022-05-20 14:52:24 +03:00
committed by Space
parent 706a0d287a
commit 84ed3ff5b0
3 changed files with 16 additions and 7 deletions
@@ -358,6 +358,7 @@ class K2JsIrCompiler : CLICompiler<K2JSCompilerArguments>() {
backendContext = backendContext,
emitNameSection = arguments.wasmDebug,
allowIncompleteImplementations = arguments.irDce,
generateWat = true,
)
val launcherKind = when (arguments.wasmLauncher) {