From 5c4193c0f414109bd50f4820e1415996f58a7291 Mon Sep 17 00:00:00 2001 From: Joshua Simmons Date: Sun, 4 Sep 2022 23:05:10 +0200 Subject: [PATCH] Update build script profile defaults Add optimizations to debug build. Add LTO to release build. --- Cargo.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index f52bec7..296a65a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -15,6 +15,9 @@ members = [ [profile.release] panic = "abort" debug = true +opt-level = 3 +lto="thin" [profile.dev] panic = "abort" +opt-level = 1 -- 2.49.0