summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrabite <rabite@posteo.de>2020-02-08 12:55:51 +0100
committerrabite <rabite@posteo.de>2020-05-23 13:55:51 +0200
commita0bc4be8f9d511554ad27d80c46806925d393982 (patch)
treefde9a2453a256c35d5e5a72ebd3c5288f3781159
parent10899245ad5ab82c6085c87e0a973cf4c1cfc02d (diff)
disable lto/enable debug for release builds on dev branch
-rw-r--r--Cargo.toml6
1 files changed, 4 insertions, 2 deletions
diff --git a/Cargo.toml b/Cargo.toml
index b9a4a64..f635cbe 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -87,6 +87,8 @@ required-features = ["img"]
# These options increase performance and generate a smaller binary
+## Actually, disable lto for faster testing on dev branch
[profile.release]
-lto = true
-codegen-units = 1
+debug = true
+lto = false
+codegen-units = 8