wasm-utils/src/lib.rs
Sergey Pepyakin d2c1d92e2b Don't externalize setTempRet0
It is not longer needed, as we stopped to do legalization for JS FFI.
2017-11-09 22:25:27 +03:00

29 lines
638 B
Rust

extern crate parity_wasm;
extern crate env_logger;
extern crate byteorder;
#[macro_use] extern crate log;
#[macro_use] extern crate lazy_static;
pub static CREATE_SYMBOL: &'static str = "_create";
pub static CALL_SYMBOL: &'static str = "_call";
pub mod rules;
mod optimizer;
mod gas;
mod symbols;
mod logger;
mod ext;
mod pack;
mod nondeterminism_check;
mod runtime_type;
pub use optimizer::{optimize, Error as OptimizerError};
pub use gas::inject_gas_counter;
pub use logger::init_log;
pub use ext::externalize;
pub use pack::pack_instance;
pub use nondeterminism_check::is_deterministic;
pub use runtime_type::inject_runtime_type;