Remove some custom error types in Wasmtime (#5347)
* Remove some custom error types in Wasmtime These types are mostly cumbersome to work with nowadays that `anyhow` is used everywhere else. This commit removes `InstantiationError` and `SetupError` in favor of using `anyhow::Error` throughout. This can eventually culminate in creation of specific errors for embedders to downcast to but for now this should be general enough. * Fix Windows build
This commit is contained in:
@@ -29,7 +29,7 @@ mod unwind;
|
||||
|
||||
pub use crate::code_memory::CodeMemory;
|
||||
pub use crate::instantiate::{
|
||||
subslice_range, CompiledModule, CompiledModuleInfo, ObjectBuilder, SetupError, SymbolizeContext,
|
||||
subslice_range, CompiledModule, CompiledModuleInfo, ObjectBuilder, SymbolizeContext,
|
||||
};
|
||||
pub use demangling::*;
|
||||
pub use profiling::*;
|
||||
|
||||
Reference in New Issue
Block a user