Externalize mem ops

This commit is contained in:
Sergey Pepyakin
2017-11-06 19:06:26 +03:00
parent 867a97ba1a
commit 023fe5e8cb
2 changed files with 6 additions and 6 deletions

View File

@@ -14,8 +14,8 @@ fn main() {
}
let module = wasm_utils::externalize(
parity_wasm::deserialize_file(&args[1]).expect("Module to deserialize ok"),
vec!["_free", "_malloc"],
parity_wasm::deserialize_file(&args[1]).expect("Module to deserialize ok"),
vec!["_free", "_malloc", "_memcpy", "_memset", "_memmove"],
);
parity_wasm::serialize_to_file(&args[2], module).expect("Module to serialize ok");