From 53de1a0bd5eae6a2d51fa16beec1a303dd8da07f Mon Sep 17 00:00:00 2001 From: Sylvestre Ledru Date: Sun, 15 Jan 2023 18:18:20 +0100 Subject: [PATCH] add a profile section --- Cargo.toml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index 7b8ea6564e..baec6a0111 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -17,6 +17,12 @@ name = "sccache" name = "sccache-dist" required-features = ["dist-server"] +[profile.release] +codegen-units = 1 +lto = true +strip = true +panic = "abort" + [dependencies] anyhow = "1.0" ar = "0.9"