From 08e819a93831940dd04555846c1e3ec74884610b Mon Sep 17 00:00:00 2001 From: Jarrod Doyle Date: Fri, 20 Oct 2023 11:01:26 +0100 Subject: [PATCH] Add optimisations to debug builds --- Cargo.toml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index 82275c0..041b360 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -14,3 +14,9 @@ pollster = "0.3.0" simdnoise = "3.1.6" wgpu = "0.15.1" winit = "0.28.3" + +[profile.dev] +opt-level = 1 + +[profile.dev.package."*"] +opt-level = 3