From eacef81f1752b27c8441bb98fd142180645af512 Mon Sep 17 00:00:00 2001 From: JesusPerez Date: Mon, 6 Sep 2021 02:09:22 +0100 Subject: [PATCH] chore: add release build --- Cargo.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index 4885177..c19fe51 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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" } +