-
Notifications
You must be signed in to change notification settings - Fork 6
Add DOMRefTypes
example
#41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
2248be1
to
7ef78e4
Compare
@kateinoigakukun would you have a moment to review this at some point? |
Hi, I'm wondering what you did to get swift build -c release --swift-sdk swift-6.2-DEVELOPMENT-SNAPSHOT-2025-09-06-a_wasm-embedded
Swift version 6.2-dev (LLVM 1b5a5a47cc92b04, Swift 7ec75e941fbfc24)
Target: aarch64-unknown-linux-gnu
Build config: +assertions |
@zaneenders you have to pass
Then run
Verify the final size:
Output for the last command for me is 1297 bytes when using |
That worked. Thank you! |
This provides an example of DOM manipulation using reference types. With all optimizations enabled, final
.build/release/RefsTest.wasm
binary built using Embedded Swift SDK is only 1.2 kB.