Stream: git-wasmtime

Topic: wasmtime / PR #15000 feat(bindgen): added error for mixed...


view this post on Zulip Wasmtime GitHub notifications bot (Oct 26 2026 at 21:35):

asteurer opened PR #15000 from asteurer:bindgen-update to bytecodealliance:main:

Completes https://github.com/bytecodealliance/wasmtime/issues/13768.

Summary

view this post on Zulip Wasmtime GitHub notifications bot (Oct 26 2026 at 21:35):

asteurer requested pchickey for a review on PR #15000.

view this post on Zulip Wasmtime GitHub notifications bot (Oct 26 2026 at 21:35):

asteurer requested wasmtime-core-reviewers for a review on PR #15000.

view this post on Zulip Wasmtime GitHub notifications bot (Oct 26 2026 at 21:35):

asteurer removed the review request for wasmtime-core-reviewers from PR #15000.

view this post on Zulip Wasmtime GitHub notifications bot (Oct 26 2026 at 21:58):

asteurer updated PR #15000.

view this post on Zulip Wasmtime GitHub notifications bot (Oct 26 2026 at 22:05):

asteurer updated PR #15000.

view this post on Zulip Wasmtime GitHub notifications bot (Oct 26 2026 at 23:47):

:memo: alexcrichton submitted PR review:

Thanks for this!

view this post on Zulip Wasmtime GitHub notifications bot (Oct 26 2026 at 23:47):

:speech_balloon: alexcrichton created PR review comment:

For this it'll actually want to define the run function as async. While Wasmtime will allow this as-is and run it, the component model will dynamically trap should run call the imported log function or otherwise attempt to block. Basically sync component-model functions can't block, so a sync run function here isn't too useful

view this post on Zulip Wasmtime GitHub notifications bot (Oct 26 2026 at 23:47):

:speech_balloon: alexcrichton created PR review comment:

One option to avoid this if you'd like is to use HasSelf

view this post on Zulip Wasmtime GitHub notifications bot (Oct 26 2026 at 23:49):

pchickey removed the review request for pchickey from PR #15000.

view this post on Zulip Wasmtime GitHub notifications bot (Oct 27 2026 at 00:18):

:memo: asteurer submitted PR review.

view this post on Zulip Wasmtime GitHub notifications bot (Oct 27 2026 at 00:18):

:speech_balloon: asteurer created PR review comment:

Oh, interesting. I added a tokio::time::sleep to the host's impl of log just now and it does indeed trap. I think I'm misunderstanding the assertion that the Concurrency Explainer makes:

Thus, overall, async in WIT and the Component Model does not behave like a "color"...

How can WIT be considered "colorless" when an export is required to be async in order to call an async import?

view this post on Zulip Wasmtime GitHub notifications bot (Oct 27 2026 at 00:39):

asteurer updated PR #15000.

view this post on Zulip Wasmtime GitHub notifications bot (Oct 27 2026 at 00:40):

asteurer requested alexcrichton for a review on PR #15000.

view this post on Zulip Wasmtime GitHub notifications bot (Oct 27 2026 at 01:09):

:speech_balloon: alexcrichton created PR review comment:

Ah that might be a bit outdated in that explainer at this point and/or need some more clarification. That was an original aspiration of concurrency but we ended up walking it back to the current system which is semi-colorless sort of but not 100% as you're expecting with that test.

view this post on Zulip Wasmtime GitHub notifications bot (Oct 27 2026 at 01:09):

:memo: alexcrichton submitted PR review.

view this post on Zulip Wasmtime GitHub notifications bot (Oct 27 2026 at 01:10):

:thumbs_up: alexcrichton submitted PR review:

r=me but looks like there's a CI failure

view this post on Zulip Wasmtime GitHub notifications bot (Oct 27 2026 at 01:11):

asteurer updated PR #15000.

view this post on Zulip Wasmtime GitHub notifications bot (Oct 27 2026 at 01:12):

asteurer updated PR #15000.

view this post on Zulip Wasmtime GitHub notifications bot (Oct 27 2026 at 01:24):

asteurer commented on PR #15000:

@alexcrichton Fixed!

view this post on Zulip Wasmtime GitHub notifications bot (Oct 27 2026 at 02:45):

alexcrichton added PR #15000 feat(bindgen): added error for mixed sync exports and async imports to the merge queue.

view this post on Zulip Wasmtime GitHub notifications bot (Oct 27 2026 at 02:54):

github-actions[bot] added the label wasmtime:api on PR #15000.

view this post on Zulip Wasmtime GitHub notifications bot (Oct 27 2026 at 03:07):

:check: alexcrichton merged PR #15000.

view this post on Zulip Wasmtime GitHub notifications bot (Oct 27 2026 at 03:07):

alexcrichton removed PR #15000 feat(bindgen): added error for mixed sync exports and async imports from the merge queue.


Last updated: Oct 31 2026 at 23:03 UTC