Skip to content

Conversation

@MaxDesiatov
Copy link
Contributor

WebAssembly doesn't support dynamic linking currently (at least not without direct support from a WebAssembly host, which is not standardized at all). Thus, the Swift driver shouldn't attempt to link dynamic libraries when -emit-library is passed.

Related to SR-9307.

(cc @compnerd)

@compnerd
Copy link
Member

Why not require the user to pass -static? It makes it clear that a static library is being built and means that people can experiment with the non-standard features as well.

@MaxDesiatov
Copy link
Contributor Author

MaxDesiatov commented May 11, 2020

Good point, this is now reverted in the fork with swiftwasm#957.

@MaxDesiatov MaxDesiatov deleted the patch-3 branch May 11, 2020 23:36
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.

2 participants