From b2813183bc453d7d07eed501e57a9f6d826e5551 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomasz=20Pawe=C5=82=20Gajc?= Date: Sat, 25 Feb 2023 18:20:37 +0100 Subject: [PATCH] reduce the final binary size --- Cargo.toml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index 61a461debed..2a60c3be711 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -510,3 +510,10 @@ path = "src/bin/coreutils.rs" name = "uudoc" path = "src/bin/uudoc.rs" required-features = ["uudoc"] + +[profile.release] +opt-level = "z" +debug = false +lto = "thin" +incremental = false +strip = true