Skip to content

Allow merging of multiple Wasm Swift SDKs in a single bundle - #263

Merged
MaxDesiatov merged 5 commits into
mainfrom
maxd/incremental-wasm-swift-sdk
Apr 23, 2026
Merged

MaxDesiatov merged 5 commits into
mainfrom
maxd/incremental-wasm-swift-sdk

Conversation

@MaxDesiatov

@MaxDesiatov MaxDesiatov commented Apr 22, 2026 •

Copy link
Copy Markdown
Contributor

This enables inclusion of all Wasm Swift SDKs like wasip1, wasip1-threads, and Emscripten within a single artifact bundle distribution.

This enables inclusion of both `wasip1` and `wasip1-threads` within a single artifact bundle distribution.
@MaxDesiatov

Copy link
Copy Markdown
Contributor Author

@swift-ci test

Comment thread Tests/SwiftSDKGeneratorTests/Generator/SwiftSDKGenerator+MetadataTests.swift Outdated
Co-authored-by: Max Desiatov <m_desiatov@apple.com>
@MaxDesiatov

Copy link
Copy Markdown
Contributor Author

@swift-ci test
@swift-ci test

Comment thread Sources/GeneratorCLI/GeneratorCLI.swift Outdated
Co-authored-by: Max Desiatov <m_desiatov@apple.com>
@MaxDesiatov
MaxDesiatov marked this pull request as ready for review April 22, 2026 15:35
@MaxDesiatov

Copy link
Copy Markdown
Contributor Author

@swift-ci test

@xtremekforever

Copy link
Copy Markdown
Contributor

Can this also work to create a bundle for different say Ubuntu target architectures in a Swift SDK, such as having Ubuntu Jammy x86_64 and aarch64 in a single bundle?

@MaxDesiatov MaxDesiatov changed the title Allow merging of multiple Swift SDKs in a single bundle Allow merging of multiple Wasm Swift SDKs in a single bundle Apr 22, 2026
@MaxDesiatov

MaxDesiatov commented Apr 22, 2026 •

Copy link
Copy Markdown
Contributor Author

Can this also work to create a bundle for different say Ubuntu target architectures in a Swift SDK

I haven't tested this specific case, code here is quite Wasm-specific, but infrastructure for that should be present now and I'm open to reviewing PRs that generalize it.

@kateinoigakukun kateinoigakukun left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Still concerning about shipping everything as a single artifactbundle but I don't think we have another option, so I'm ok

@MaxDesiatov
MaxDesiatov merged commit 5719098 into main Apr 23, 2026
43 checks passed
@MaxDesiatov
MaxDesiatov deleted the maxd/incremental-wasm-swift-sdk branch April 23, 2026 13:50
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.

3 participants