Wasm: don't emit wasm-runtime.js file in WASI mode
@@ -551,8 +551,10 @@ public class WasmTarget implements TeaVMTarget, TeaVMWasmHost {
emitC(module, buildTarget, getBaseName(outputName) + ".wasm.c");
}
+ if (runtimeType == WasmRuntimeType.TEAVM) {
emitRuntime(buildTarget, getBaseName(outputName) + ".wasm-runtime.js");
}
+ }
private WasmFunction createStartFunction(NameProvider names) {
WasmFunction function = new WasmFunction("teavm_start");
