|
Revision tags: dev, v36.0.9, v44.0.1 |
|
| #
f302ebd6 |
| 30-Apr-2026 |
wasmtime-publish <[email protected]> |
Release Wasmtime 44.0.1 (#13241)
[automatically-tag-and-release-this-commit]
Co-authored-by: Wasmtime Publish <[email protected]>
|
|
Revision tags: v43.0.2, v36.0.8, v24.0.8, v44.0.0, v43.0.1, v42.0.2, v36.0.7, v24.0.7 |
|
| #
a46300a7 |
| 01-Apr-2026 |
Nick Fitzgerald <[email protected]> |
Add `eqref` support to the C and C++ APIs (#12914)
* Add `eqref` support to the C and C++ APIs
* fix doc build
|
| #
0dbb6f3d |
| 31-Mar-2026 |
Chris Fallin <[email protected]> |
Exceptions: implement C API. (#12861)
* Exceptions: implement C API.
This PR implements C (and C++) API support for Wasm exceptions, one final remaining hurdle (aside from fuzz-testing) for making
Exceptions: implement C API. (#12861)
* Exceptions: implement C API.
This PR implements C (and C++) API support for Wasm exceptions, one final remaining hurdle (aside from fuzz-testing) for making exceptions tier-1 and on-by-default.
* Review feedback, and add exnref case to `wasmtime_val_t`.
* Review feedback: GC feature guard.
* clang-format
* add docs to exn.hh.
* Remove tag size asserts: broken on 32-bit platforms, but not needed for correctness wrt C struct.
show more ...
|
| #
483eb432 |
| 21-Mar-2026 |
Vasily Chekalkin <[email protected]> |
Merge wasm_tag type into wasm_functype / clean up C API tag headers (#12803)
* Merge wasm_tag type into wasm_functype / clean up C API tag headers
- Move tag type info into wasm.h alongside other c
Merge wasm_tag type into wasm_functype / clean up C API tag headers (#12803)
* Merge wasm_tag type into wasm_functype / clean up C API tag headers
- Move tag type info into wasm.h alongside other core types instead of a separate wasmtime/tag.h header - Remove wasmtime/tag.h (contents merged into wasm.h / wasm.hh) - Update extern.hh and tag.hh to reflect new layout - Add tag param accessors in func.rs - Refactor tag.rs to match updated C API surface - Update tag_type.cc tests accordingly
Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
* doc-wasm.h: add wasm_tagtype_t documentation and fix wasm_name typo
Add Doxygen documentation for the `wasm_tagtype_t` type and its associated functions (`wasm_tagtype_new`, `wasm_tagtype_functype`, vec helpers, and externtype conversion functions). Also document `WASM_EXTERN_TAG` and the `wasm_tagtype_as_externtype*` / `wasm_externtype_as_tagtype*` conversion functions.
Fix pre-existing typo: `wasm_name_new_new_uninitialized` -> `wasm_name_new_uninitialized`.
Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
---------
Co-authored-by: Claude Sonnet 4.6 <[email protected]>
show more ...
|
|
Revision tags: v43.0.0 |
|
| #
546f6dbc |
| 12-Mar-2026 |
Vasily Chekalkin <[email protected]> |
c-api: implement wasm_tagtype_t for exception tag types (#10252) (#12763)
* c-api: implement wasm_tagtype_t for exception tag types (#10252)
Implement the C embedder API for WebAssembly exception t
c-api: implement wasm_tagtype_t for exception tag types (#10252) (#12763)
* c-api: implement wasm_tagtype_t for exception tag types (#10252)
Implement the C embedder API for WebAssembly exception tags, resolving the long-standing todo!() in CExternType::new() that caused a Rust panic whenever a module with tag exports had its exports enumerated via the C API (e.g. wasm_module_exports / wasmtime_module_exports).
Changes: - Add wasm_tagtype_t type with wasm_tagtype_new/params/delete/copy and the standard as_externtype / externtype_as_tagtype cast functions - Add WASM_EXTERN_TAG = 4 constant to wasm_externkind_enum in wasm.h - Add CExternType::Tag(CTagType) variant; wire into CExternType::new() and wasm_externtype_kind() - Add wasmtime/types/tag.hh C++ wrapper (TagType / TagType::Ref) - Extend ExternType::Ref variant and ref_from_c() switch in extern.hh - Add TagType tests: construction, module export enumeration (regression for #10252), and wasm_externtype_kind / cast function correctness
Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
* c-api: move tag type declarations to wasmtime/tag.h
- Revert wasm.h to its vendored upstream state (it must not be modified locally; tag support is not yet in the upstream wasm-c-api spec header) - Add crates/c-api/include/wasmtime/tag.h with wasm_tagtype_t forward declaration, WASM_EXTERN_TAG constant, and all wasm_tagtype_* / wasm_externtype_as_tagtype* function declarations - Include wasmtime/tag.h from wasmtime.h
Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
* Apply rustfmt and clang-format to tag type implementation
Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
* Fix Clippy warnings: remove unused imports and dead code
Drop unused `wasm_tagtype_t` import from extern.rs, and remove the `force`/`ty`/`wasm_tagtype_t::new` dead-code paths from tag.rs that were written for future engine-resolution support but are not yet called.
Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
* Redesign tag type API with wasmtime_* prefix per reviewer feedback
- Rename wasm_tagtype_t → wasmtime_tagtype_t and all wasm_tagtype_* functions → wasmtime_tagtype_* to avoid clashing with future wasm.h additions (as requested by alexcrichton) - Constructor now takes wasm_engine_t* + wasm_valkind_t array + count instead of wasm_valtype_vec_t, eliminating the lazy-init complexity - Replace wasm_tagtype_params() (returning a vec) with wasmtime_tagtype_param_count() + wasmtime_tagtype_param(nth), matching the component type accessor iterator pattern - Rename WASM_EXTERN_TAG → WASMTIME_EXTERN_TAG - Simplify CTagType: stores TagType directly, no Arc<Mutex<LazyTagType>> - Update C++ TagType wrapper: constructor takes Engine&, Ref exposes param_count() / param(nth) instead of params() returning ListRef - Add ValType::c_to_kind() static helper used by TagType::Ref::param() - Fix null-pointer panic for zero-length param arrays in Rust
Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
---------
Co-authored-by: Claude Sonnet 4.6 <[email protected]>
show more ...
|
| #
c5ab9e5a |
| 05-Mar-2026 |
wasmtime-publish <[email protected]> |
Bump Wasmtime to 44.0.0 (#12728)
Co-authored-by: Wasmtime Publish <[email protected]>
|
|
Revision tags: v42.0.1, v41.0.4, v42.0.0, v40.0.4, v36.0.6, v24.0.6 |
|
| #
72520ee5 |
| 05-Feb-2026 |
wasmtime-publish <[email protected]> |
Bump Wasmtime to 43.0.0 (#12531)
Co-authored-by: Wasmtime Publish <[email protected]>
|
|
Revision tags: v41.0.3, 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 |
|
| #
1d8ab4b1 |
| 05-Jan-2026 |
wasmtime-publish <[email protected]> |
Bump Wasmtime to 42.0.0 (#12240)
Co-authored-by: Wasmtime Publish <[email protected]>
|
|
Revision tags: v40.0.0 |
|
| #
9dc6a7d0 |
| 05-Dec-2025 |
wasmtime-publish <[email protected]> |
Bump Wasmtime to 41.0.0 (#12126)
Co-authored-by: Wasmtime Publish <[email protected]>
|
|
Revision tags: v39.0.1, v39.0.0, v38.0.4, v37.0.3, v36.0.3, v24.0.5 |
|
| #
afe9bcd1 |
| 05-Nov-2025 |
wasmtime-publish <[email protected]> |
Bump Wasmtime to 40.0.0 (#11983)
Co-authored-by: Wasmtime Publish <[email protected]>
|
|
Revision tags: v38.0.3, v38.0.2 |
|
| #
cde2e04f |
| 21-Oct-2025 |
Alex Crichton <[email protected]> |
Fill out more of the C++ API for components (#11889)
* capi: Add a C++ API for `component::Linker`
Just a bare-bones API for now with functionality that's possible to fill out. Notably instantiatio
Fill out more of the C++ API for components (#11889)
* capi: Add a C++ API for `component::Linker`
Just a bare-bones API for now with functionality that's possible to fill out. Notably instantiation and defining functions is not yet possible in C++. Some more feature-parity is also added with the core linkers as well.
* capi: Add bindings for component instances
* capi: Delete wasip2.h header file
Upon reflection I realize that this is not actually necessary and is otherwise a duplicate of the functionality in `wasi.h`. All of the functionality in `wasi.h` is already supported to power WASIp2-defined APIs in a linker, which is enabled by the `WasiView` trait redirecting to the `WasiView for WasiP1Ctx` implementation. This is similar to how the `wasmtime` CLI works where a P1 context is always created and then it's conditionally used for either core wasm or components.
Effectively this is a deletion of duplicate functionality in the C API but no underlying functionality is lost. Translating information to preexisting WASI calls will work the same as using the wasip2 APIs before.
* capi: Start bindings for component functions
* capi: Bind component values in the C++ API
* capi: Finish bindings for component functions/linkers
All the pieces are now in place to use the C++ API in testing.
* Fix compilation of CLI
* Fix compile on MSVC
* Try again to fix msvc compat
* Fix `get_f32` and `get_f64` return values
* Fix signed return values
* Remove no-longer-needed `capi_transfer` function
* Try to fix msvc again
* Remove std::optional constructor of `Val`
* Fix another namespace clash on msvc
* One day I surely may understand a fraction of either C++ or MSVC, but today is not that day.
* Document internal macro
* Add other internal docs
show more ...
|
|
Revision tags: v38.0.1, v37.0.2 |
|
| #
48da3134 |
| 06-Oct-2025 |
wasmtime-publish <[email protected]> |
Bump Wasmtime to 39.0.0 (#11793)
Co-authored-by: Wasmtime Publish <[email protected]>
|
|
Revision tags: v37.0.1, v37.0.0 |
|
| #
db7b44d2 |
| 05-Sep-2025 |
wasmtime-publish <[email protected]> |
Bump Wasmtime to 38.0.0 (#11613)
Co-authored-by: Wasmtime Publish <[email protected]>
|
|
Revision tags: v36.0.2, v36.0.1, v36.0.0 |
|
| #
2eda6384 |
| 05-Aug-2025 |
wasmtime-publish <[email protected]> |
Bump Wasmtime to 37.0.0 (#11381)
Co-authored-by: Wasmtime Publish <[email protected]>
|
|
Revision tags: v35.0.0, v24.0.4, v33.0.2, v34.0.2 |
|
| #
e2403113 |
| 07-Jul-2025 |
wasmtime-publish <[email protected]> |
Bump Wasmtime to 36.0.0 (#11184)
Co-authored-by: Wasmtime Publish <[email protected]>
|
|
Revision tags: v34.0.1, v33.0.1, v24.0.3, v32.0.1, v34.0.0 |
|
| #
69c01c5d |
| 18-Jun-2025 |
MangoPeachGrape <[email protected]> |
c-api: component-model: Resource table, WASI (#11055)
* c-api: component-model: Resource table, WASI
* WASIP2 context builder
* Add include
* Rename function
* Add a simple test
* Add comments
c-api: component-model: Resource table, WASI (#11055)
* c-api: component-model: Resource table, WASI
* WASIP2 context builder
* Add include
* Rename function
* Add a simple test
* Add comments prtest:full
show more ...
|
| #
78836186 |
| 05-Jun-2025 |
wasmtime-publish <[email protected]> |
Bump Wasmtime to 35.0.0 (#10926)
Co-authored-by: Wasmtime Publish <[email protected]>
|
|
Revision tags: v33.0.0 |
|
| #
5ef22092 |
| 05-May-2025 |
wasmtime-publish <[email protected]> |
Bump Wasmtime to 34.0.0 (#10726)
Co-authored-by: Wasmtime Publish <[email protected]>
|
| #
1819edba |
| 22-Apr-2025 |
Alex Crichton <[email protected]> |
Move C++ Module/Engine types to their own headers (#10642)
* Move C++ Module/Engine types to their own headers
Add some #ifdef guards for Wasmtime features as well as some small tests.
* Remove tr
Move C++ Module/Engine types to their own headers (#10642)
* Move C++ Module/Engine types to their own headers
Add some #ifdef guards for Wasmtime features as well as some small tests.
* Remove trailing newline
show more ...
|
|
Revision tags: v32.0.0 |
|
| #
7c6a3f4b |
| 16-Apr-2025 |
Alex Crichton <[email protected]> |
Minor doc updates for C++ API inclusion (#10599)
Minor updates to a few locations to clarify that the C++ API now lives in this repository.
|
| #
6ba6e13b |
| 14-Apr-2025 |
MangoPeachGrape <[email protected]> |
c-api: Compile a component (#10566)
* c-api: Compile a component
Co-authored-by: Tyler Rockwood <[email protected]> Co-authored-by: Jean-Jacques Lafay <[email protected]>
* Add docu
c-api: Compile a component (#10566)
* c-api: Compile a component
Co-authored-by: Tyler Rockwood <[email protected]> Co-authored-by: Jean-Jacques Lafay <[email protected]>
* Add documentation to config
---------
Co-authored-by: Tyler Rockwood <[email protected]> Co-authored-by: Jean-Jacques Lafay <[email protected]>
show more ...
|
| #
e06fe2c5 |
| 05-Apr-2025 |
wasmtime-publish <[email protected]> |
Bump Wasmtime to 33.0.0 (#10525)
Co-authored-by: Wasmtime Publish <[email protected]>
|
|
Revision tags: v31.0.0 |
|
| #
6d028abe |
| 05-Mar-2025 |
wasmtime-publish <[email protected]> |
Bump Wasmtime to 32.0.0 (#10330)
Co-authored-by: Wasmtime Publish <[email protected]>
|
|
Revision tags: v30.0.2, v30.0.1, v30.0.0 |
|
| #
b76b3f0c |
| 05-Feb-2025 |
wasmtime-publish <[email protected]> |
Bump Wasmtime to 31.0.0 (#10187)
Co-authored-by: Wasmtime Publish <[email protected]>
|
|
Revision tags: v29.0.1, v29.0.0, v28.0.1 |
|
| #
d477d450 |
| 05-Jan-2025 |
wasmtime-publish <[email protected]> |
Bump Wasmtime to 30.0.0 (#9921)
Co-authored-by: Wasmtime Publish <[email protected]>
|