more optimizations in release builds
This commit is contained in:
parent
395b0bcd3f
commit
400bfa4dde
|
@ -7,6 +7,7 @@ edition = "2021"
|
|||
|
||||
[dependencies]
|
||||
bevy = { version = "0.13.0", features = ["dynamic_linking"] }
|
||||
#bevy = "0.13.0"
|
||||
|
||||
# Enable a small amount of optimization in debug mode
|
||||
[profile.dev]
|
||||
|
@ -16,5 +17,11 @@ opt-level = 1
|
|||
[profile.dev.package."*"]
|
||||
opt-level = 3
|
||||
|
||||
#[profile.release]
|
||||
#opt-level = 'z'
|
||||
[profile.release]
|
||||
opt-level = 'z'
|
||||
lto = true
|
||||
opt-level = 3
|
||||
codegen-units = 1
|
||||
incremental = false
|
||||
debug = false
|
||||
|
|
Loading…
Reference in a new issue