From df383f95e34e2b83d155851540ab7d7dbe365e85 Mon Sep 17 00:00:00 2001 From: Paul-Christian Volkmer Date: Mon, 28 Feb 2022 11:18:24 +0100 Subject: [PATCH] Add release build profile settings --- Cargo.toml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 67ff80e..a0a66b6 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -11,4 +11,10 @@ rand = "0.8" [dependencies.sdl2] version = "0.35" -features = ["image", "ttf"] \ No newline at end of file +features = ["image", "ttf"] + +[profile.release] +opt-level = "s" +codegen-units = 1 +lto = "thin" +strip = "debuginfo"