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

reference types: Implement the table.size and table.grow instructions #1894

Merged

Conversation

fitzgen
Copy link
Member

@fitzgen fitzgen commented Jun 17, 2020

(Still doesn't handle table.grow for funcrefs yet, as there are still some open questions about how to represent on-stack, in-Wasm funcrefs.)

Also de-duplicates / cleans up declaring builtin function indices a little bit, so that they aren't so tedious and repetitive.

Part of #929

@github-actions github-actions bot added the wasmtime:api Related to the API of the `wasmtime` crate itself label Jun 17, 2020
@github-actions
Copy link

Subscribe to Label Action

cc @peterhuene

This issue or pull request has been labeled: "wasmtime:api"

Thus the following users have been cc'd because of the following labels:

  • peterhuene: wasmtime:api

To subscribe or unsubscribe from this label, edit the .github/subscribe-to-label.json configuration file.

Learn more.

crates/environ/src/func_environ.rs Outdated Show resolved Hide resolved
crates/runtime/src/libcalls.rs Show resolved Hide resolved
@fitzgen
Copy link
Member Author

fitzgen commented Jun 17, 2020

@alexcrichton ok, feedback addressed 👍

@alexcrichton alexcrichton merged commit bbd99c5 into bytecodealliance:master Jun 18, 2020
@fitzgen fitzgen deleted the table-size-and-table-grow branch June 18, 2020 15:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wasmtime:api Related to the API of the `wasmtime` crate itself
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants