mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
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:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user