-
Notifications
You must be signed in to change notification settings - Fork 198
Runtime: allow one to directly access values exported in the runtime #2086
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
base: master
Are you sure you want to change the base?
Conversation
@hhugo Ping |
@vouillon, how do you want to implement such feature ? |
I have pushed something. It only works with whole-program compilation, though. With separate compilation, only the JavaScript primitives used in the Wasm runtime are linked-in. I'm not sure what to do about that. |
Could we add a syntax to re-export js value to the wasm runtime ? |
IIUC, we just need a way to tell the wasmoo compiler that additional js value must be included when building the js runtime. |
The goal is to address LexiFi/gen_js_api#177
cc mlasson
@vouillon, can this work with wasmoo ?