Regenerate bindings using wai-bindgen (requires MSRV 1.64) #3389
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Note: This depends on wasmerio/wai#20 and a v0.2.2 release of
wai-bindgen-cli
! It also requires bumping our MSRV to 1.64.In c1b2b08, we accidentally updated the
regenerate.sh
script to runcargo install wai-bindgen
instead ofwai-bindgen-cli
(the crate with the executable).That version of the
wai-bindgen
CLI also didn't include wasmerio/wai@fbea20f which adds a--force-generate-structs
flag to thewai-bindgen rust-wasm ...
sub-command.This PR updates the
regenerate.sh
script to prompt users to installwai-bindgen-cli
with the desired version if they haven't already. I've also regenerated the types to make sure--force-generate-structs
works as intended.Closes #3387.