Introduce a ModuleResult alias for Result<T, ModuleError>.
This follows the pattern used by cretonne-codegen, cretonne-wasm, and others.
This commit is contained in:
@@ -33,7 +33,8 @@ mod module;
|
||||
|
||||
pub use backend::Backend;
|
||||
pub use data_context::{DataContext, DataDescription, Init, Writability};
|
||||
pub use module::{DataId, FuncId, FuncOrDataId, Linkage, Module, ModuleError, ModuleNamespace};
|
||||
pub use module::{DataId, FuncId, FuncOrDataId, Linkage, Module, ModuleError, ModuleNamespace,
|
||||
ModuleResult};
|
||||
|
||||
/// This replaces `std` in builds with `core`.
|
||||
#[cfg(not(feature = "std"))]
|
||||
|
||||
Reference in New Issue
Block a user