mirror of
https://github.com/pezkuwichain/wasm-instrument.git
synced 2026-06-15 10:21:01 +00:00
update also readme
This commit is contained in:
@@ -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.
|
||||||
|
|||||||
Reference in New Issue
Block a user