From a0bc4be8f9d511554ad27d80c46806925d393982 Mon Sep 17 00:00:00 2001 From: rabite Date: Sat, 8 Feb 2020 12:55:51 +0100 Subject: [PATCH] disable lto/enable debug for release builds on dev branch --- Cargo.toml | 6 ++++-- 1 file 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