chore: build with optimization in debug builds

Signed-off-by: Schmarni <marnistromer@gmail.com>
This commit is contained in:
Schmarni
2025-07-22 02:56:25 +02:00
committed by Schmarni
parent aff7bd7d4b
commit 515807e56a
2 changed files with 9 additions and 2 deletions

View File

@@ -25,3 +25,11 @@ openxr = "0.19.0"
thiserror = "2.0.3"
wgpu = "24.0.1"
wgpu-hal = "24.0.2"
# Enable a small amount of optimization in the dev profile.
[profile.dev]
opt-level = 1
# Enable a large amount of optimization in the dev profile for dependencies.
[profile.dev.package."*"]
opt-level = 3