Skip to content

Remove old syntax for core wasm instructions#1184

Merged
alexcrichton merged 1 commit intobytecodealliance:mainfrom
alexcrichton:delete-deprecated-names
Aug 25, 2023
Merged

Remove old syntax for core wasm instructions#1184
alexcrichton merged 1 commit intobytecodealliance:mainfrom
alexcrichton:delete-deprecated-names

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