Skip to content

Commit 0cd5721

Browse files
authored
Merge pull request #83134 from MaxDesiatov/consistent-wasmkit-path
wasm-run.py: consistent `wasmkit` path 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.
2 parents 9bedefe + b972140 commit 0cd5721

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

utils/swift_build_support/swift_build_support/products/wasmkit.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ def build(self, host_target):
6969

7070
@classmethod
7171
def cli_file_path(cls, build_dir):
72-
return os.path.join(build_dir, 'bin', 'wasmkit-cli')
72+
return os.path.join(build_dir, 'bin', 'wasmkit')
7373

7474

7575
def run_swift_build(host_target, product, swiftpm_package_product_name, set_installation_rpath=False):

utils/wasm-run.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ def run(self, args):
2424
subprocess.check_call(command)
2525

2626
def invocation(self, args):
27-
command = ["wasmkit-cli", "run"]
27+
command = ["wasmkit", "run"]
2828
envs = collect_wasm_env()
2929
for key in envs:
3030
command.append("--env")

0 commit comments

Comments
 (0)