Skip to content

Commit

Permalink
add opt-level = 1 for dev profile (#52)
Browse files Browse the repository at this point in the history
  • Loading branch information
Vrixyz authored Jun 26, 2024
1 parent fe98eaf commit 2c775cf
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 @@ -6,6 +6,10 @@ resolver = "2"
#lto = true
#codegen-units = 1

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

[patch.crates-io]
salva2d = { path = "./build/salva2d" }
salva3d = { path = "./build/salva3d" }
Expand Down

0 comments on commit 2c775cf

Please sign in to comment.