|
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, v42.0.1, v41.0.4, v42.0.0, v40.0.4, v36.0.6, v24.0.6, 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, v40.0.0, v39.0.1, v39.0.0, v38.0.4, v37.0.3, v36.0.3, v24.0.5, v38.0.3, v38.0.2, v38.0.1, v37.0.2, v37.0.1, v37.0.0, v36.0.2 |
|
| #
2365e64c |
| 25-Aug-2025 |
Dave Bakker <[email protected]> |
Update to wasm-tools 0.237.0 (#11517)
* Update to wasm-tools 0.237.0
That version comes with support for fallible resource constructors. `wasmtime-wit-bindgen` doesn't need any additional changes t
Update to wasm-tools 0.237.0 (#11517)
* Update to wasm-tools 0.237.0
That version comes with support for fallible resource constructors. `wasmtime-wit-bindgen` doesn't need any additional changes to support this, though I've added a codegen test for it to be sure.
* Add vets
---------
Co-authored-by: Alex Crichton <[email protected]>
show more ...
|
|
Revision tags: v36.0.1, v36.0.0, v35.0.0, v24.0.4, v33.0.2, v34.0.2, v34.0.1, v33.0.1, v24.0.3, v32.0.1, v34.0.0, v33.0.0, v32.0.0, v31.0.0, v30.0.2, v30.0.1, v30.0.0, v29.0.1, v29.0.0, v28.0.1, v28.0.0, v27.0.0, v26.0.1, v25.0.3, v24.0.2, v26.0.0, v21.0.2, v22.0.1, v23.0.3, v25.0.2, v24.0.1, v25.0.1, v25.0.0, v24.0.0, v23.0.2, v23.0.1, v23.0.0, v22.0.0, v21.0.1, v21.0.0, v20.0.2, v20.0.1, v20.0.0, v17.0.3, v19.0.2, v18.0.4, v19.0.1, v19.0.0, v18.0.3, v18.0.2, v17.0.2, v18.0.1, v18.0.0, v17.0.1, v17.0.0, v16.0.0, v15.0.1, v15.0.0, v14.0.4, v14.0.3, v14.0.2, v13.0.1, v14.0.1, v14.0.0 |
|
| #
fd3a827e |
| 06-Oct-2023 |
Alex Crichton <[email protected]> |
Add a whole lot of semicolons to WIT files (#7159)
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
Add a whole lot of semicolons to WIT files (#7159)
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.
show more ...
|
|
Revision tags: minimum-viable-wasi-proxy-serve, v13.0.0, v12.0.2, v11.0.2, v10.0.2 |
|
| #
878a243a |
| 30-Aug-2023 |
Timmy Silesmo <[email protected]> |
Host resources wit-bindgen code generation (#6886)
* added trap to resource dtor
* basic resources
* fixed signature and trait bounds
* fixed static function
* fixed trait signature
* basic res
Host resources wit-bindgen code generation (#6886)
* added trap to resource dtor
* basic resources
* fixed signature and trait bounds
* fixed static function
* fixed trait signature
* basic resources
* added result to resource drop
* reverted formatting
* added doc comment to resource `dtor`
* fixed merge issue
* fixed another merge issue
* added resource import codegen test
* Revert changes to `Cargo.lock`
* Update `Cargo.lock` with the wit-bindgen update
* Add `cargo vet` entries for new crates
* Restore old-style of printing types in bindgen
Avoid collecting resources-as-we-go in favor of doing that more declaratively elsewhere. Additionally handle imported-vs-exported resource via the order that interfaces are visited.
* Update the shape of resource traits:
* Use `&mut self` instead of `StoreContextMut` * Make resource traits as supertraits of the `Host` trait generated for each resource. * More uniformly handle types/returns with resource methods. * Fix derivations of `Clone` and `Copy` for where handles are contained.
* Fix generation of handle typedefs
* Support resources-in-worlds
* Remove now-duplicate function
This is now the same as the preexisting `generate_function_trait_sig`
* Fix classifying handles as imported or exported
This determination happens by looking up the origin definition of a resource, not the leaf possibly-aliased type.
* Fix chains-of-use of resources
Resources don't have their representation asserted since the bare type itself doesn't implement `ComponentType`, but otherwise generate type aliases the same way as other type aliases.
* Revert `Cargo.lock` changes
No need to update `wit-bindgen` to 0.10.0 just yet, that'll happen in a future update if necessary.
* Add basic runtime tests for resources
* fixed merge issue
---------
Co-authored-by: Alex Crichton <[email protected]>
show more ...
|