Set Cargo config to optimize Wasm builds for size (web REPL)

This commit is contained in:
Brian Carroll 2022-03-15 19:01:31 +00:00
parent 5b97823ba8
commit 72b620086f

View File

@ -2,3 +2,6 @@
test-gen-llvm = "test -p test_gen"
test-gen-dev = "test -p roc_gen_dev -p test_gen --no-default-features --features gen-dev"
test-gen-wasm = "test -p roc_gen_wasm -p test_gen --no-default-features --features gen-wasm"
[target.wasm32-unknown-unknown]
rustflags = ["-Copt-level=s"]