Skip to content

Embedded: Swift SDK now passes the -Xcc -D__EMBEDDED_SWIFT__ #369

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

Merged
merged 2 commits into from
Aug 15, 2025

Conversation

kateinoigakukun
Copy link
Member

@kateinoigakukun kateinoigakukun commented Jun 12, 2025

without it we get an instantiation error and not a linker error when building with wasm32-unknown-wasip1 Embedded mode:

Uncaught (in promise) CompileError: WebAssembly.instantiateStreaming(): Duplicate export name 'swjs_library_features' for function 4333 and function 7478 @+26082

@kateinoigakukun kateinoigakukun marked this pull request as ready for review August 15, 2025 11:13
@kateinoigakukun kateinoigakukun merged commit 7510b04 into main Aug 15, 2025
8 checks passed
@kateinoigakukun kateinoigakukun deleted the yt/embedded-fix branch August 15, 2025 12:06
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