-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add
wasmtime::UnknownImportError
(#5509)
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
- Loading branch information
Showing
2 changed files
with
85 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters