fix: correct various typos (#12807)Signed-off-by: Ho Kim <[email protected]>
Fix error chaining and casting with `anyhow` errors in the chain (#12705)* Fix error chaining and casting with `anyhow` errors in the chainFixes https://github.com/bytecodealliance/wasmtime/issue
Fix error chaining and casting with `anyhow` errors in the chain (#12705)* Fix error chaining and casting with `anyhow` errors in the chainFixes https://github.com/bytecodealliance/wasmtime/issues/12690* add cfg that got lost* avoid raw identifiers* Add missing cfg for test function
show more ...
Fix using `downcast` with `anyhow::Error` (#12689)* Fix using `downcast` with `anyhow::Error`Previously when converting `wasmtime::Error` into `anyhow::Error` itended up breaking the `downcast`
Fix using `downcast` with `anyhow::Error` (#12689)* Fix using `downcast` with `anyhow::Error`Previously when converting `wasmtime::Error` into `anyhow::Error` itended up breaking the `downcast` method. This is because`anyhow::Error::from_boxed` looks like it does not implement the`downcast` method which is how all errors were previously converted to`anyhow::Error`. This commit adds a new vtable method for specificallyconverting to `anyhow::Error` which enables using the typed constructionmethods of `anyhow` which preserves `downcast`-ness.* Add a test showcasing anyhow-source behavior
Fix some minor `bindgen!` issues with `anyhow: true` (#12657)* Fix some minor `bindgen!` issues with `anyhow: true`Found when updating Spin to Wasmtime 42.0.0 where some cases weren'thandled:*
Fix some minor `bindgen!` issues with `anyhow: true` (#12657)* Fix some minor `bindgen!` issues with `anyhow: true`Found when updating Spin to Wasmtime 42.0.0 where some cases weren'thandled:* Trappable functions with no result.* Resource destructors.* Functions with custom trappable errors.* Shuffle some features
Forbid rustdoc warnings in CI (#12420)* Forbid rustdoc warnings in CIThis commit corrects our handling of rustdoc flags in CI to ensure thatwarnings indeed fire. Additionally this changes our fl
Forbid rustdoc warnings in CI (#12420)* Forbid rustdoc warnings in CIThis commit corrects our handling of rustdoc flags in CI to ensure thatwarnings indeed fire. Additionally this changes our flags to pass`-Dwarnings` to ensure that we have warning-free doc builds when allfeatures are enabled at least.There were quite a lot of preexisting issues to fix, so thisadditionally goes through and fixes all the warnings that cropped up.* Update nightly toolchain againprtest:full* Update another nightly* Fix a warning in generated code
Fold the `wasmtime-error` crate into `wasmtime-core` (#12418)Similar to #12398 and #12407 the idea is that all our dependency-free(mostly) data structures and foundational data-types are in one lo
Fold the `wasmtime-error` crate into `wasmtime-core` (#12418)Similar to #12398 and #12407 the idea is that all our dependency-free(mostly) data structures and foundational data-types are in one locationto centralize testing, ergonomics, documentation, idioms, etc.