Stream: git-wasmtime

Topic: wasmtime / issue #11059 Implement core::error::Error


view this post on Zulip Wasmtime GitHub notifications bot (Jun 17 2025 at 06:52):

juntyr opened issue #11059:

Thanks for filing a feature request! Please fill out the TODOs below.

Feature

Implement core::error::Error instead of std::error::Error since MSRV > 1.81

Benefit

We can use better error handling without the std feature, i.e. in no-std environments.

view this post on Zulip Wasmtime GitHub notifications bot (Jun 17 2025 at 07:00):

juntyr edited issue #11059:

Feature

Implement core::error::Error instead of std::error::Error since MSRV > 1.81

Benefit

We can use better error handling without the std feature, i.e. in no-std environments.

view this post on Zulip Wasmtime GitHub notifications bot (Jun 17 2025 at 14:29):

alexcrichton commented on issue #11059:

Could you clarify which error impl you're interseted in? It looks like for the main Wasmtime crate core::error::Error is used, so are you looking for another crate?

view this post on Zulip Wasmtime GitHub notifications bot (Jun 17 2025 at 16:53):

juntyr commented on issue #11059:

Could you clarify which error impl you're interseted in? It looks like for the main Wasmtime crate core::error::Error is used, so are you looking for another crate?

It seems a few errors already use core::error::Error, but e.g. wasmtime::MemoryAccessError and wasmtime::PoolConcurrencyLimitError don't yet. There are a few references to std::error::Error in the repo, though for me wasmtime::MemoryAccessError is the one I encountered

view this post on Zulip Wasmtime GitHub notifications bot (Jun 18 2025 at 15:53):

abrown closed issue #11059:

Feature

Implement core::error::Error instead of std::error::Error since MSRV > 1.81

Benefit

We can use better error handling without the std feature, i.e. in no-std environments.


Last updated: Dec 06 2025 at 07:03 UTC