From: Joshua Simmons Date: Sun, 4 Sep 2022 21:05:10 +0000 (+0200) Subject: Update build script profile defaults X-Git-Url: https://git.nega.tv//gitweb.cgi?a=commitdiff_plain;h=5c4193c0f414109bd50f4820e1415996f58a7291;p=josh%2Fnarcissus Update build script profile defaults Add optimizations to debug build. Add LTO to release build. --- 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