Skip to content

Commit

Permalink
feat(template): build asC lib for generate wasm
Browse files Browse the repository at this point in the history
  • Loading branch information
bdeneux committed Oct 18, 2022
1 parent 9656cca commit 9e9f5c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile.toml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ rustup target add wasm32-unknown-unknown
'''

[tasks.wasm]
args = ["build", "--release", "--target", "wasm32-unknown-unknown"]
args = ["build", "--release", "--lib", "--target", "wasm32-unknown-unknown"]
command = "cargo"
dependencies = ["install_wasm"]
env = { RUSTFLAGS = "-C link-arg=-s" }
Expand Down

0 comments on commit 9e9f5c9

Please sign in to comment.