wasper 0.1.3

A Webassembly interpreter written in Rust without standard library
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use super::leb128::Type;
#[cfg(not(feature = "std"))]
use crate::lib::*;
use core::str::Utf8Error;

#[derive(Debug, PartialEq, Eq)]
pub enum Error {
    InvalidMagicNumber,
    InvalidVersion,
    InvalidSectionHeader,
    IntOverflow(Type),
    InvalidUtf8(Utf8Error),
    UnexpectedEof(String),
    Expected(String),
    Other(String),
    Or(Box<Error>, Box<Error>),
}