Skip to content

Commit

Permalink
Use a slightly better optimization level by default
Browse files Browse the repository at this point in the history
  • Loading branch information
Aceeri committed Jul 5, 2023
1 parent 38e1b79 commit 0a7f49d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@
members = ["bevy_rapier2d", "bevy_rapier3d"]
resolver = "2"

[profile.dev]
# Use slightly better optimization by default, as examples otherwise seem laggy.
opt-level = 1

[profile.release]
codegen-units = 1

Expand Down

0 comments on commit 0a7f49d

Please sign in to comment.