Virtual_machine/
lib.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#![allow(non_snake_case)]
#![allow(non_camel_case_types)]
#![allow(non_upper_case_globals)]

mod Custom_data;
mod Environment;
mod Error;
mod Instance;
mod Manager;
mod Module;
mod Registrable;
mod Runtime;

// Force linking of the ABI
#[allow(unused_imports)]
use ABI::*;

pub use wamr_rust_sdk::value::WasmValue;
pub use Custom_data::*;
pub use Environment::*;
pub use Error::*;
pub use Instance::*;
pub use Manager::*;
pub use Module::*;
pub use Registrable::*;
pub use Runtime::*;

pub type WASM_pointer_type = u32;
pub type WASM_usize_type = u32;