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

Remove old syntax for core wasm instructions #1184

Merged

Conversation

alexcrichton
Copy link
Member

Long ago instructions like get_local were renamed to local.get along with a number of other instructions. The wast crate has for quite some time supported parsing the old forms but wasmprinter has always printed out the most "up to date" forms.

This commit goes through and deletes the parsing support for all the old forms, meaning that it's now an error to use such syntax.

Closes #1164

Long ago instructions like `get_local` were renamed to `local.get` along
with a number of other instructions. The `wast` crate has for quite some
time supported parsing the old forms but `wasmprinter` has always
printed out the most "up to date" forms.

This commit goes through and deletes the parsing support for all the old
forms, meaning that it's now an error to use such syntax.

Closes bytecodealliance#1164
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.

Future of old syntax for local.get or global.set
2 participants