tweak the opt level for dev profile.
This commit is contained in:
parent
4b0dc168be
commit
614e457aa7
1 changed files with 8 additions and 0 deletions
|
@ -27,3 +27,11 @@ heron = { path = "../heron/" }
|
|||
|
||||
[patch."https://github.com/bevyengine/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
|
||||
|
|
Loading…
Reference in a new issue