update also readme

This commit is contained in:
NikVolf
2017-09-15 22:03:43 +03:00
parent 5095880843
commit 087399f6b5
+2 -2
View File
@@ -10,10 +10,10 @@ Easiest way to use is to install via `cargo install`:
cargo install --git https://github.com/paritytech/wasm-utils wasm-build cargo install --git https://github.com/paritytech/wasm-utils wasm-build
``` ```
## Symbols optimizer (wasm-opt) ## Symbols pruning (wasm-prune)
``` ```
cargo run --release --bin wasm-opt -- <input_binary.wasm> <output_binary.wasm> cargo run --release --bin wasm-prune -- <input_binary.wasm> <output_binary.wasm>
``` ```
This will optimize WASM symbols tree to leave only those elements that are used by contract `_call` function entry. This will optimize WASM symbols tree to leave only those elements that are used by contract `_call` function entry.