From a49f47dac7c217765fa9cad33e9e1abb2850ee1b Mon Sep 17 00:00:00 2001 From: Alexey Andreev Date: Tue, 8 Nov 2022 19:46:40 +0100 Subject: [PATCH] Fix WASI support in CLI runner --- tools/cli/src/main/java/org/teavm/cli/TeaVMRunner.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/cli/src/main/java/org/teavm/cli/TeaVMRunner.java b/tools/cli/src/main/java/org/teavm/cli/TeaVMRunner.java index afa963d17..e493fd04b 100644 --- a/tools/cli/src/main/java/org/teavm/cli/TeaVMRunner.java +++ b/tools/cli/src/main/java/org/teavm/cli/TeaVMRunner.java @@ -223,7 +223,7 @@ public final class TeaVMRunner { case "webassembly-wasi": case "wasm-wasi": case "wasi": - tool.setTargetType(TeaVMTargetType.WEBASSEMBLY); + tool.setTargetType(TeaVMTargetType.WEBASSEMBLY_WASI); break; case "c": tool.setTargetType(TeaVMTargetType.C);