Skip to content
This repository was archived by the owner on Sep 8, 2025. It is now read-only.

Update WIT in tests with async#132

Merged
alexcrichton merged 3 commits into
bytecodealliance:mainfrom
alexcrichton:more-async
Apr 23, 2025
Merged

Update WIT in tests with async#132
alexcrichton merged 3 commits into
bytecodealliance:mainfrom
alexcrichton:more-async

Conversation

@alexcrichton
Copy link
Copy Markdown
Member

This commit updates the WIT used in test to use the `async` keyword and
generally try to avoid manually configuring what's async and what's not
in the guest. This does not update the host's handling of the `async`
keyword in WIT for `wasmtime::component::bindgen!`. Some assorted
bindgen issues were fixed here and there and WASI WITs were updated as
well with `async` where it seemed appropriate. I'll note that there are
some usages of concurrent imports when there's no actual concurrency,
it's just there for getting an `Accessor` and, for example, spawning
tasks. In these situations we may want to explore possible modes of
bindings generation on the host side of things which avoids the need for
manual configuration.

Coupled with bytecodealliance/wit-bindgen#1278 and
bytecodealliance/wit-bindgen#1279.
Our pinned version is pretty out-of-date and seems like it's having
difficulty parsing more recent Cargo syntax in the wasip3-prototyping
fork.
@alexcrichton alexcrichton marked this pull request as ready for review April 23, 2025 19:14
@alexcrichton alexcrichton enabled auto-merge April 23, 2025 19:14
@alexcrichton alexcrichton added this pull request to the merge queue Apr 23, 2025
@github-merge-queue github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Apr 23, 2025
@alexcrichton alexcrichton added this pull request to the merge queue Apr 23, 2025
@github-merge-queue github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Apr 23, 2025
@alexcrichton alexcrichton added this pull request to the merge queue Apr 23, 2025
Merged via the queue into bytecodealliance:main with commit fea79e8 Apr 23, 2025
42 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant