mirror of
https://github.com/Eaglercraft-TeaVM-Fork/eagler-teavm.git
synced 2024-12-22 08:14:09 -08:00
Wasm: don't emit wasm-runtime.js file in WASI mode
This commit is contained in:
parent
34eb06f5f0
commit
8f4e4e811f
|
@ -551,7 +551,9 @@ public class WasmTarget implements TeaVMTarget, TeaVMWasmHost {
|
|||
emitC(module, buildTarget, getBaseName(outputName) + ".wasm.c");
|
||||
}
|
||||
|
||||
emitRuntime(buildTarget, getBaseName(outputName) + ".wasm-runtime.js");
|
||||
if (runtimeType == WasmRuntimeType.TEAVM) {
|
||||
emitRuntime(buildTarget, getBaseName(outputName) + ".wasm-runtime.js");
|
||||
}
|
||||
}
|
||||
|
||||
private WasmFunction createStartFunction(NameProvider names) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user