History log of /wasmtime-44.0.1/crates/core/src/error/vtable.rs (Results 1 – 3 of 3)
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
# 5afb6030 03-Mar-2026 Nick Fitzgerald <[email protected]>

Fix error chaining and casting with `anyhow` errors in the chain (#12705)

* Fix error chaining and casting with `anyhow` errors in the chain

Fixes 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 chain

Fixes https://github.com/bytecodealliance/wasmtime/issues/12690

* add cfg that got lost

* avoid raw identifiers

* Add missing cfg for test function

show more ...


# 4fd25c07 27-Feb-2026 Alex Crichton <[email protected]>

Fix using `downcast` with `anyhow::Error` (#12689)

* Fix using `downcast` with `anyhow::Error`

Previously when converting `wasmtime::Error` into `anyhow::Error` it
ended 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` it
ended 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 specifically
converting to `anyhow::Error` which enables using the typed construction
methods of `anyhow` which preserves `downcast`-ness.

* Add a test showcasing anyhow-source behavior

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, v41.0.2, v41.0.1, v36.0.5, v40.0.3
# 8325e1ec 23-Jan-2026 Alex Crichton <[email protected]>

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 location
to centralize testing, ergonomics, documentation, idioms, etc.

show more ...