Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: dev, v36.0.9, v44.0.1, v43.0.2, v36.0.8, v24.0.8, v44.0.0, v43.0.1, v42.0.2, v36.0.7, v24.0.7, v43.0.0
# e4894952 11-Mar-2026 Sy Brand <[email protected]>

Set current thread before lowering stream/future reads (#12736)

* Set thread before lowering stream/future reads

* Restore thread

* Make CurrentThread pub(crate)

* fmt

* Remove with_thread

* Re

Set current thread before lowering stream/future reads (#12736)

* Set thread before lowering stream/future reads

* Restore thread

* Make CurrentThread pub(crate)

* fmt

* Remove with_thread

* Remove DS_Store

* Add test

* Check return values

* Move string data

show more ...


# 039ae2af 05-Mar-2026 Alex Crichton <[email protected]>

Fix caller context on fused component<->component returns (#12737)

In #12718 I added a test for more cases but forgot to update the
`*.wast` to actually execute the test. Turns out all the cases wer

Fix caller context on fused component<->component returns (#12737)

In #12718 I added a test for more cases but forgot to update the
`*.wast` to actually execute the test. Turns out all the cases were
failing, and so this commit properly enables the tests and then fixes
them.

show more ...


# 58877f2f 04-Mar-2026 Alex Crichton <[email protected]>

Fix the current guest task when calling `realloc` (#12718)

* Fix the current guest task when calling `realloc`

This commit fixes some fallout from #12550 where after that PR the
current task regist

Fix the current guest task when calling `realloc` (#12718)

* Fix the current guest task when calling `realloc`

This commit fixes some fallout from #12550 where after that PR the
current task registered when a guest's `realloc` was called was
incorrect. This additionally fixes issues where guest-to-guest
trampolines also had the wrong task registered when `realloc` was being
called. Finally this adjusts a few locations that "no borrows should be
active" traps happen to ensure that it happens around the time of when a
task returns rather than after the lowering of its values happens.

* Fix non-async build

show more ...


Revision tags: v42.0.1, v41.0.4, v42.0.0, v40.0.4, v36.0.6, v24.0.6, v41.0.3
# 4d129904 03-Feb-2026 Alex Crichton <[email protected]>

Check may-leave flags in trampolines, not Rust (#12427)

This commit moves all may-leave flag handling into compiled trampolines
rather than doing this in Rust. This means it can't be forgotten on th

Check may-leave flags in trampolines, not Rust (#12427)

This commit moves all may-leave flag handling into compiled trampolines
rather than doing this in Rust. This means it can't be forgotten on the
Rust side of things and will be slightly more efficient to boot. This
then additionally exempts some intrinsics from checking may-leave since
Wasmtime erroneously checked when it shouldn't have.

Closes #12397
Closes #12403

show more ...


Revision tags: v41.0.2, v41.0.1, v36.0.5, v40.0.3, v41.0.0, v36.0.4, v39.0.2, v40.0.2, v40.0.1, v40.0.0
# 7dc07b3b 09-Dec-2025 Alex Crichton <[email protected]>

Remove support for `backpressure.set` (#12130)

This canonical intrinsic which is part of component-model-async support
is supplanted by `backpressure.{inc,dec}`. This wasn't removed when they
were a

Remove support for `backpressure.set` (#12130)

This canonical intrinsic which is part of component-model-async support
is supplanted by `backpressure.{inc,dec}`. This wasn't removed when they
were added to keep existing programs working, but that's no longer
necessary.

show more ...


Revision tags: v39.0.1, v39.0.0, v38.0.4, v37.0.3, v36.0.3, v24.0.5
# e06fbf70 27-Oct-2025 Sy Brand <[email protected]>

Cooperative Multithreading (#11751)

* Initial work

* Almost compiling

* Partially working

* Cleanup

* Fix merge

* Cancellation and suspension refactoring

* Remove printlns

* Test with several

Cooperative Multithreading (#11751)

* Initial work

* Almost compiling

* Partially working

* Cleanup

* Fix merge

* Cancellation and suspension refactoring

* Remove printlns

* Test with several threads

* More testing

* Cancellation

* Fix cancellation for explicit suspends

* Finish cancellation test

* Store threads in the instance table

* Deletion almost there

* Tests all pass

* Tighten up task deletion

* Set thread state correctly

* Store pairs of thread and task ids

* Remove lift abi members

* Cleanup unnecessary change

* More cleanup

* Cleanup

* Revert cargo changes

* Revert cargo changes

* Comments

* Comments on test

* Update comments

* Update comments

* Add space that was removed in an earlier commit

* Cleanup

* Delete threads from the instance table

* Revert cargo file

* Remove dead code

* Clippy changes

* Clippy

* Revert unnecessary changes

* Revert unnecessary changes

* Revert unnecessary changes

* Revert unnecessary changes

* Revert unnecessary changes

* Review comments

* Review feedback

* Make thread IDs per-component-instance

* Fix config

* Tighten up completion

* Clippy

* Trigger full PR test

* Move funcref table reading

* Remove unused import

* Formatting

* Rename RemoveOnDrop

* Review feedback

* Review feedback

* Move start thread closure

* Review feedback

* Review feedback

* Correct feature for import

* Review feedback

* Disable failing tests

* Enable fixed tests

* Review feedback

* Readd tests

* Ignore task deletion test with Miri

show more ...


Revision tags: v38.0.3, v38.0.2, v38.0.1
# b242f5a6 15-Oct-2025 Alex Crichton <[email protected]>

Reorganize component model wast testing (#11818)

* Move all `*.wast` tests under `tests/misc_testsuite/component-model`,
e.g. move` component-model-async` to `component-model/async`.
* Split testi

Reorganize component model wast testing (#11818)

* Move all `*.wast` tests under `tests/misc_testsuite/component-model`,
e.g. move` component-model-async` to `component-model/async`.
* Split testing of `component-model-{stackful,async-builtins}` into
separate tests instead of intermingling it with all other tests.

This is done to in theory make this easier to upstream into the
component model repository itself by having a cleaner split by feature
rather than being a pure reflection of historical development.

show more ...