Skip to content

Commit 5e80b8e

Browse files
committed
add .cargo/config to the template
1 parent b6fc1d0 commit 5e80b8e

File tree

1 file changed

+8
-0
lines changed
  • templates/project/.cargo

1 file changed

+8
-0
lines changed

templates/project/.cargo/config

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
[alias]
2+
wasm = "build --release --lib --target wasm32-unknown-unknown"
3+
unit-test = "test --lib"
4+
all-test = "test --workspace"
5+
schema = "run --bin schema"
6+
7+
[env]
8+
RUSTFLAGS = "-C link-arg=-s"

0 commit comments

Comments
 (0)