chore: add release build

This commit is contained in:
Jesús Pérez Lorenzo 2021-09-06 02:09:22 +01:00
parent 201955b794
commit eacef81f17

View File

@ -84,7 +84,9 @@ key_of_life = { path = "../lib/key_of_life" }
clds = { path = "../lib/clds" }
# https://nnethercote.github.io/perf-book/build-configuration.html
[profile.release]
#opt-level = 3
lto = true
codegen-units = 1
opt-level = "z"
@ -113,3 +115,4 @@ cargo-web = "0.1" # == "^0.6" - includes "0.6.26" - locked by default
# cargo-web = { git = "https://github.com/koute/cargo-web" }
# cargo-web = { git = "https://github.com/koute/cargo-web", branch = "master" }
# cargo-web = { git = "https://github.com/koute/cargo-web", rev = "a9895bf536e8ac6a0806382886b7be90138f01f3" }