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

[14.0.0] Add a whole lot of semicolons to WIT files #7295

Merged

Conversation

alexcrichton
Copy link
Member

This is a backport of #7159 to ensure that those who want to require semicolons in CI for example work correctly with Wasmtime 14.

To prepare this commit I've run `WIT_REQUIRE_SEMICOLONS=1 ./ci/run-tests.sh`
locally which configures `wit-parser` to generate an error for missing
semicolons in WIT files. This led me to add quite a few semicolons in
quite a few places in what is going to be the first of a few batches of
semicolons.

CI checks for this cannot be added just yet because the wasi-nn spec is
a submodule which needs to be updated with semicolons before this
repository can require semicolons. Nevertheless that doesn't stop us
from using semicolons in the meantime (yay gradual rollout of changes!)
so I figure this would be good to get in sooner rather than later.
@alexcrichton alexcrichton requested a review from a team as a code owner October 19, 2023 16:13
@alexcrichton alexcrichton requested review from pchickey and removed request for a team October 19, 2023 16:13
@alexcrichton
Copy link
Member Author

I'll note that there's one exception to this which is wasi-nn. That uses a submodule and the updated version of the submodule slightly updates the APIs used, so I've avoided updating that. I think the important part though is updating the main body of WITs used by WASI.

@alexcrichton alexcrichton merged commit 6943ed0 into bytecodealliance:release-14.0.0 Oct 19, 2023
@alexcrichton alexcrichton deleted the semicolons14 branch October 19, 2023 17:07
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.

2 participants