Skip to content

Commit ce15d58

Browse files
committed
ci: optimize wasm size release build
1 parent 8b12500 commit ce15d58

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Makefile.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@ rustup target add wasm32-unknown-unknown
8787
args = ["build", "--release", "--target", "wasm32-unknown-unknown"]
8888
command = "cargo"
8989
dependencies = ["install_wasm"]
90+
env = { RUSTFLAGS = "-C link-arg=-s" }
9091

9192
[tasks.check_contracts]
9293
dependencies = ["wasm"]

0 commit comments

Comments
 (0)