Skip to content

SwiftBuild support#791

Draft
kateinoigakukun wants to merge 2 commits into
mainfrom
yt/swb-support
Draft

SwiftBuild support#791
kateinoigakukun wants to merge 2 commits into
mainfrom
yt/swb-support

Conversation

@kateinoigakukun

@kateinoigakukun kateinoigakukun commented Jul 21, 2026

Copy link
Copy Markdown
Member

…ystem

`swift package js test` assumed the native build system's single combined
`<Package>PackageTests` binary: it looked for one `.wasm`/`.xctest` under
`.build/<config>/`, packaged it, and ran it.

SwiftBuild produces no combined test binary. It emits one
`<TestTarget>-test-runner.wasm` per test target under `.build/out/Products/`,
plus an aggregate target that only orchestrates building them, so the old
lookup failed with "Failed to find 'JavaScriptKitPackageTests.wasm'".
Because SwiftBuild mode produces a linked executable for each test
target.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant