tweak the opt level for dev profile.

This commit is contained in:
Joe Ardent 2022-01-13 17:30:51 -08:00
parent 4b0dc168be
commit 614e457aa7
1 changed files with 8 additions and 0 deletions

View File

@ -27,3 +27,11 @@ heron = { path = "../heron/" }
[patch."https://github.com/bevyengine/bevy"] [patch."https://github.com/bevyengine/bevy"]
bevy = { path = "../bevy/" } bevy = { path = "../bevy/" }
# Enable optimizations for dependencies (incl. Bevy), but not for our code:
[profile.dev.package."*"]
opt-level = 3
# Maybe also enable only a small amount of optimization for our code:
[profile.dev]
opt-level = 1