mirror of
https://github.com/fluencelabs/wasm-utils
synced 2025-05-28 07:01:21 +00:00
29 lines
759 B
Rust
29 lines
759 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 = "deploy";
|
|
pub static CALL_SYMBOL: &'static str = "call";
|
|
pub static RET_SYMBOL: &'static str = "ret";
|
|
|
|
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, externalize_mem, underscore_funcs, ununderscore_funcs, shrink_unknown_stack};
|
|
pub use pack::pack_instance;
|
|
pub use nondeterminism_check::is_deterministic;
|
|
pub use runtime_type::inject_runtime_type;
|