Skip to content

Commit

Permalink
Update Cargo.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
Zac8668 committed Dec 30, 2023
1 parent 301e4df commit db1111c
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,13 @@ opt-level = 1
# Enable high optimizations for dependencies (incl. Bevy), but not for our code:
[profile.dev.package."*"]
opt-level = 3

[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
bevy_dylib = "0.12.1"

[profile.release]
codegen-units = 1
lto = true

[build-dependencies]
shadow-rs = "0.25.0"

0 comments on commit db1111c

Please sign in to comment.