makepad-stitch 0.1.0

An experimental Wasm interpreter written in Rust that is designed to be very fast and lightweight.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
pub(crate) const MAX_TYPE_COUNT: usize = 1_000_000;
pub(crate) const MAX_IMPORT_COUNT: usize = 100_000;
pub(crate) const MAX_FUNC_COUNT: usize = 1_000_000;
pub(crate) const MAX_FUNC_PARAM_COUNT: usize = 1_000;
pub(crate) const MAX_FUNC_RESULT_COUNT: usize = 1_000;
pub(crate) const MAX_TABLE_COUNT: usize = 100;
pub(crate) const MAX_MEMORY_COUNT: usize = 1;
pub(crate) const MAX_GLOBAL_COUNT: usize = 1_000_000;
pub(crate) const MAX_EXPORT_COUNT: usize = 100_000;
pub(crate) const MAX_ELEM_COUNT: usize = 100_000;
pub(crate) const MAX_ELEM_SIZE: usize = 1_000_000;
pub(crate) const MAX_FUNC_LOCAL_COUNT: usize = 50_000;
pub(crate) const MAX_FUNC_BODY_SIZE: usize = 128 * 1_024;
pub(crate) const MAX_DATA_COUNT: usize = 100_000;
pub(crate) const MAX_DATA_SIZE: usize = 1_000_000;