From abd002e3bf049ecb29e9731226242dc7ee163bcb Mon Sep 17 00:00:00 2001 From: Quaternions Date: Tue, 5 Sep 2023 15:15:22 -0700 Subject: [PATCH] optimize release builds a bit --- Cargo.toml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index c99fc4c..5a9789d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -16,3 +16,8 @@ obj = "0.10.2" pollster = "0.3.0" wgpu = "0.17.0" winit = "0.28.6" + +[profile.release] +lto = true +strip = true +codegen-units = 1