diff --git a/utils/swift_build_support/swift_build_support/products/wasmswiftsdk.py b/utils/swift_build_support/swift_build_support/products/wasmswiftsdk.py index d7fc7d8ce2fcd..4a0ca330301c8 100644 --- a/utils/swift_build_support/swift_build_support/products/wasmswiftsdk.py +++ b/utils/swift_build_support/swift_build_support/products/wasmswiftsdk.py @@ -140,7 +140,7 @@ def build(self, host_target): swift_run = os.path.join(toolchain_path, 'bin', 'swift-run') swift_version = os.environ.get('TOOLCHAIN_VERSION', - 'swift-DEVELOPMENT-SNAPSHOT').lstrip('swift-') + 'swift-DEVELOPMENT-SNAPSHOT') run_args = [ swift_run, '--package-path', self.source_dir,