diff options
| author | Henry Gressmann <mail@henrygressmann.de> | 2024-01-25 01:01:25 +0100 |
|---|---|---|
| committer | Henry Gressmann <mail@henrygressmann.de> | 2024-01-25 01:01:25 +0100 |
| commit | 64ed1bf86950c52e3400c0a536e223a53f48a4b7 (patch) | |
| tree | 90d03f81f2561f482a70719ad20324eece8251e1 /crates/parser/src | |
| parent | be0c5aa8ec4dcb9bd595edfc83b979aa40d6ae5d (diff) | |
feat: pass full wasm 1.0 testsuite
Signed-off-by: Henry Gressmann <mail@henrygressmann.de>
Diffstat (limited to 'crates/parser/src')
| -rw-r--r-- | crates/parser/src/error.rs | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/crates/parser/src/error.rs b/crates/parser/src/error.rs index acacfa0..714535a 100644 --- a/crates/parser/src/error.rs +++ b/crates/parser/src/error.rs @@ -43,10 +43,7 @@ impl crate::std::error::Error for ParseError {} impl From<wasmparser::BinaryReaderError> for ParseError { fn from(value: wasmparser::BinaryReaderError) -> Self { - Self::ParseError { - message: value.message().to_string(), - offset: value.offset(), - } + Self::ParseError { message: value.message().to_string(), offset: value.offset() } } } |
