1#[cfg(feature = "js")]
4pub(crate) use crate::js::vm::{
5 VMExtern, VMExternFunction, VMExternGlobal, VMExternMemory, VMExternRef, VMExternTable,
6 VMFuncRef, VMFunctionCallback, VMFunctionEnvironment, VMInstance, VMTrampoline,
7};
8
9#[cfg(feature = "jsc")]
10pub(crate) use crate::jsc::vm::{
11 VMExtern, VMExternFunction, VMExternGlobal, VMExternMemory, VMExternRef, VMExternTable,
12 VMFuncRef, VMFunctionCallback, VMFunctionEnvironment, VMInstance, VMTrampoline,
13};
14
15#[cfg(feature = "sys")]
16pub(crate) use crate::sys::vm::{
17 VMExtern, VMExternFunction, VMExternGlobal, VMExternMemory, VMExternRef, VMExternTable,
18 VMFuncRef, VMFunctionCallback, VMFunctionEnvironment, VMInstance, VMTrampoline,
19};
20
21#[cfg(feature = "js")]
22pub use crate::js::vm::{VMFunction, VMGlobal, VMMemory, VMSharedMemory, VMTable};
23
24#[cfg(feature = "sys")]
25pub use wasmer_vm::{VMConfig, VMFunction, VMGlobal, VMMemory, VMSharedMemory, VMTable};
26
27#[cfg(feature = "jsc")]
28pub use crate::jsc::vm::{VMFunction, VMGlobal, VMMemory, VMSharedMemory, VMTable};
29
30#[cfg(feature = "sys")]
32pub use wasmer_vm::{
33 LinearMemory,
35 VMMemoryDefinition,
36 VMTableDefinition,
37};
38
39pub use wasmer_types::{MemoryError, MemoryStyle, TableStyle};