Skip to content

Commit 39b2779

Browse files
authored
Set panic to abort & strip symbols in crate wasm (#13)
Signed-off-by: Jiahao XU <[email protected]> Signed-off-by: Jiahao XU <[email protected]>
1 parent 7132d46 commit 39b2779

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

wasm/Cargo.toml

+2
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ version = "0.2.2"
1414
opt-level = "z"
1515
codegen-units = 1
1616
lto = true
17+
panic = "abort"
18+
strip = "symbols"
1719

1820
[lib]
1921
crate-type = ["cdylib", "rlib"]

0 commit comments

Comments
 (0)