set opt-level = 1 on the dev profile by default

This commit is contained in:
Gered 2023-04-06 21:15:17 -04:00
parent 231ba10f1e
commit df31483cbd

View file

@ -3,3 +3,9 @@ members = [
"ggdt",
"examples/*",
]
# some stuff is becoming noticably slow with default dev profile settings (opt-level = 0). especially any of the
# fancier triangle_2d drawing stuff. while there are many optimizations still left to be made, it seems like a good
# compromise on build time vs optimizations to keep opt-level at 1 while actively developing.
[profile.dev]
opt-level = 1