1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
#![cfg_attr(not(feature = "std"), no_std)]
mod builder;
mod executor;
mod func;
mod instance;
mod memory;
mod result;
mod trap;
mod value;

pub mod derive;

#[cfg(not(feature = "std"))]
mod wasmi;
#[cfg(feature = "std")]
mod wasmtime;

pub use self::{
    executor::*,
    result::{Error, Result, ReturnCode},
    trap::{Trap, TrapCode},
};