remove panic, expect and unimplemented from microwasm + use Result as return value for some functions (#652)

This commit is contained in:
Patrick Ventuzelo
2019-12-03 20:58:29 +01:00
committed by Dan Gohman
parent 4fd56de4df
commit 027f6117d6
4 changed files with 323 additions and 89 deletions

View File

@@ -12,6 +12,9 @@ pub enum Error {
#[error("Input error: {0}")]
Input(String),
#[error("Microwasm error: {0}")]
Microwasm(String),
}
impl From<BinaryReaderError> for Error {