Skip to content

Conversation

MaxDesiatov
Copy link
Contributor

This adopts new DefaultExecutorFactory, which means we can mark main entrypoint as async. Due to swiftlang/swift#83750 we have to use JSPromise-returning functions from WebAPIKit, but otherwise this is now fully compatible with Embedded Swift.

Final binary size with full optimization: 390.5 kB.

This adopts new `DefaultExecutorFactory`, which means we can mark `main` entrypoint as `async`. Due to swiftlang/swift#83750 we have to use `JSPromise`-returning functions from WebAPIKit, but otherwise this is now fully compatible with Embedded Swift.
@MaxDesiatov MaxDesiatov merged commit a2423c8 into main Aug 15, 2025
37 checks passed
@MaxDesiatov MaxDesiatov deleted the embedded-webgpu branch August 15, 2025 17:00
@github-project-automation github-project-automation bot moved this from In Progress to Done in Swift for Wasm Aug 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants