Stream: git-wasmtime

Topic: wasmtime / PR #5509 Add `wasmtime::UnknownImportError`


view this post on Zulip Wasmtime GitHub notifications bot (Jan 03 2023 at 18:16):

lann opened PR #5509 from unknown-import-error to main:

This adds a new error type UnknownImportError which will be returned (wrapped in an anyhow::Error) by Linker::instantiate{,_async,_pre} if a module has an unresolvable import.

This error type is also used by Linker::define_unknown_imports_as_traps; any resulting traps will also downcast to UnknownImportError.

Closes #5416

<!--

Please ensure that the following steps are all taken care of before submitting
the PR.

Please ensure all communication adheres to the code of conduct.
-->

view this post on Zulip Wasmtime GitHub notifications bot (Jan 03 2023 at 18:24):

alexcrichton submitted PR review.

view this post on Zulip Wasmtime GitHub notifications bot (Jan 03 2023 at 18:24):

alexcrichton has enabled auto merge for PR #5509.

view this post on Zulip Wasmtime GitHub notifications bot (Jan 03 2023 at 19:01):

alexcrichton merged PR #5509.


Last updated: Nov 22 2024 at 17:03 UTC