mirror of
https://github.com/pezkuwichain/wasm-instrument.git
synced 2026-06-12 04:11:04 +00:00
Transition to Rust 2018 style imports
This commit is contained in:
+1
-3
@@ -771,10 +771,8 @@ pub fn generate(f: &Module) -> Result<Vec<u8>, Error> {
|
||||
|
||||
#[cfg(test)]
|
||||
mod tests {
|
||||
|
||||
extern crate wabt;
|
||||
|
||||
use parity_wasm::elements;
|
||||
use indoc::indoc;
|
||||
|
||||
fn load_sample(wat: &'static str) -> super::Module {
|
||||
super::parse(&wabt::wat2wasm(wat).expect("faled to parse wat!")[..])
|
||||
|
||||
Reference in New Issue
Block a user