Аdded optimizations

master
Mark 2024-01-23 15:50:31 -08:00
parent 5b4c483849
commit e24c0edb8f
Signed by: Mark
GPG Key ID: C6D63995FE72FD80
1 changed files with 6 additions and 0 deletions

View File

@ -10,6 +10,12 @@ incremental = true
codegen-units = 256
rpath = false
# Rapier is a LOT faster with optimizations,
# make sure they're always enabled
[profile.dev.package.rapier2d]
opt-level = 3
codegen-units = 1
[profile.release]
opt-level = 3
debug = false