diff --git a/Cargo.toml b/Cargo.toml index 2b37e54..b4944ee 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -14,8 +14,8 @@ glob = "0.2" [lib] [[bin]] -name = "wasm-opt" -path = "opt/src/main.rs" +name = "wasm-prune" +path = "prune/src/main.rs" [[bin]] name = "wasm-ext" diff --git a/README.md b/README.md index 636d48a..5d6c575 100644 --- a/README.md +++ b/README.md @@ -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 ``` -## Symbols optimizer (wasm-opt) +## Symbols pruning (wasm-prune) ``` -cargo run --release --bin wasm-opt -- +cargo run --release --bin wasm-prune -- ``` This will optimize WASM symbols tree to leave only those elements that are used by contract `_call` function entry. diff --git a/opt/.gitignore b/prune/.gitignore similarity index 100% rename from opt/.gitignore rename to prune/.gitignore diff --git a/opt/Cargo.toml b/prune/Cargo.toml similarity index 100% rename from opt/Cargo.toml rename to prune/Cargo.toml diff --git a/opt/src/main.rs b/prune/src/main.rs similarity index 100% rename from opt/src/main.rs rename to prune/src/main.rs