wasm-run.py: make wasmkit path consistent with build_runtime_with_host_compiler

When passing `--build-runtime-with-host-compiler` there's no such executable `wasmkit-cli` in the host toolchain, where it's named `wasmkit` when installed. Let's make that consistent to make it work in both cases.
This commit is contained in:
Max Desiatov
2025-07-17 17:16:07 +01:00
committed by GitHub
parent 48fb7cd874
commit 326c73f5ec

View File

@@ -24,7 +24,7 @@ class WASIRunner(object):
subprocess.check_call(command)
def invocation(self, args):
command = ["wasmkit-cli", "run"]
command = ["wasmkit", "run"]
envs = collect_wasm_env()
for key in envs:
command.append("--env")