From 7b3705cf6852dc1a894c63392cd3dee86782dd98 Mon Sep 17 00:00:00 2001 From: Daniel Date: Sun, 26 Apr 2020 16:15:25 +0200 Subject: build release with lto This does increase the build times, but it makes sure the binaries are a bit smaller (especially a gain for the Windows binary). In addition, it removes librt, which is unneeded and gave warnings in namcap. --- Cargo.toml | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Cargo.toml') diff --git a/Cargo.toml b/Cargo.toml index 514b6f8..3736b9a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -8,6 +8,9 @@ description = "An evtc searching tool, akin to find" readme = "README.md" repository = "https://gitlab.com/dunj3/raidgrep" +[profile.release] +lto = true + [dependencies] evtclib = { path = "evtclib" } regex = "1" -- cgit v1.2.3