Skip to content
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

Export Luau public symbols to WebAssembly #231

Closed

Conversation

rblanckaert
Copy link
Collaborator

Instead of only exporting the symbols for the web repl, export all public Luau symbols to the wasm build.

Instead of only exporting the symbols for the web repl, export all public
Luau symbols to the wasm build.
@MathematicalDessert
Copy link
Contributor

Is there a specific reason why this is necessary?

@zeux
Copy link
Collaborator

zeux commented Nov 23, 2021

fwiw I think LUA_API should be defined so that it can be externally overridden (ifndef LUA_API -> define LUA_API extern). Which would mean that even if we need to make this change, it'll just affect CMakeLists (assuming we can use a C-friendly way to specify the export that doesn't use Emscripten internal macro)

@zeux
Copy link
Collaborator

zeux commented Dec 8, 2021

Going to close this for now, I think this should be achievable with build time only configuration now.

@zeux zeux closed this Dec 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants