rename crate

This commit is contained in:
NikVolf
2018-03-13 15:58:18 +03:00
parent de971270f8
commit b0f43bb575
7 changed files with 22 additions and 22 deletions

View File

@ -1,5 +1,5 @@
extern crate diff;
extern crate wasm_utils;
extern crate pwasm_utils as utils;
extern crate wabt;
extern crate parity_wasm;
@ -80,7 +80,7 @@ macro_rules! def_stack_height_test {
fn $name() {
run_diff_test("stack-height", concat!(stringify!($name), ".wat"), |input| {
let module = elements::deserialize_buffer(input).expect("Failed to deserialize");
let instrumented = wasm_utils::stack_height::inject_limiter(module, 1024).expect("Failed to instrument with stack counter");
let instrumented = utils::stack_height::inject_limiter(module, 1024).expect("Failed to instrument with stack counter");
elements::serialize(instrumented).expect("Failed to serialize")
});
}