Merge branch 'master' into feature/host-env-prototype

This commit is contained in:
Mark McCaskey
2020-11-16 15:13:29 -08:00
committed by GitHub
131 changed files with 7822 additions and 2169 deletions

View File

@@ -83,7 +83,17 @@ pub use wasmer_types::{
Atomically, Bytes, GlobalInit, LocalFunctionIndex, MemoryView, Pages, ValueType,
WASM_MAX_PAGES, WASM_MIN_PAGES, WASM_PAGE_SIZE,
};
// TODO: should those be moved into wasmer::vm as well?
pub use wasmer_vm::{raise_user_trap, Export, MemoryError};
pub mod vm {
//! We use the vm module for re-exporting wasmer-vm types
pub use wasmer_vm::{
Memory, MemoryError, MemoryStyle, Table, TableStyle, VMMemoryDefinition, VMTableDefinition,
};
}
#[cfg(feature = "wat")]
pub use wat::parse_bytes as wat2wasm;