Fix WASI support in CLI runner

This commit is contained in:
Alexey Andreev 2022-11-08 19:46:40 +01:00
parent 224810d0ab
commit a49f47dac7

View File

@ -223,7 +223,7 @@ public final class TeaVMRunner {
case "webassembly-wasi": case "webassembly-wasi":
case "wasm-wasi": case "wasm-wasi":
case "wasi": case "wasi":
tool.setTargetType(TeaVMTargetType.WEBASSEMBLY); tool.setTargetType(TeaVMTargetType.WEBASSEMBLY_WASI);
break; break;
case "c": case "c":
tool.setTargetType(TeaVMTargetType.C); tool.setTargetType(TeaVMTargetType.C);