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

Add wasm_bindgen::function_table() #1427

Closed
koute opened this issue Apr 7, 2019 · 1 comment
Closed

Add wasm_bindgen::function_table() #1427

koute opened this issue Apr 7, 2019 · 1 comment

Comments

@koute
Copy link

koute commented Apr 7, 2019

So I finally started implementing wasm-bindgen compatibility in stdweb, and it works! It is however not yet entirely functional - for that I need access to the function table of the WASM's module. In the RFC it was said that an extra wasm_bindgen::function_table() intrinsic will be added to access the function table; from what I can see that hasn't been done yet?

Any way I can help?

alexcrichton added a commit to alexcrichton/wasm-bindgen that referenced this issue Apr 8, 2019
This commit adds an intrinsics to the `wasm_bindgen` crate which
accesses the `WebAssembly.Table` which is the function table of the
module. Eventually the thinking is that a module would import its own
function table via native wasm functionality (via `anyref` and such),
but until that's implemented let's add a binding for it ourselves!

Closes rustwasm#1427
@alexcrichton
Copy link
Contributor

Oops, sorry for the omission! I've pushed up #1431 which should add this

alexcrichton added a commit to alexcrichton/wasm-bindgen that referenced this issue Apr 8, 2019
This commit adds an intrinsics to the `wasm_bindgen` crate which
accesses the `WebAssembly.Table` which is the function table of the
module. Eventually the thinking is that a module would import its own
function table via native wasm functionality (via `anyref` and such),
but until that's implemented let's add a binding for it ourselves!

Closes rustwasm#1427
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants