From d83319ed1bbbb69718ac364e2bb96e445bc683a3 Mon Sep 17 00:00:00 2001 From: Julian Kulesh Date: Wed, 10 Jul 2024 20:11:22 +0800 Subject: [PATCH] chore: update contract compilation instruction --- contract/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contract/README.md b/contract/README.md index 53f3100..f610512 100644 --- a/contract/README.md +++ b/contract/README.md @@ -9,7 +9,7 @@ Install [`cargo-near`](https://github.com/near/cargo-near) to support some addit Use this command to build a wasm binary ```bash -cargo build --target wasm32-unknown-unknown --release +RUSTFLAGS='-C link-arg=-s' cargo build --target wasm32-unknown-unknown --release ``` ## How to Test Locally?