Disable debug symbols in release mode.

I think this affects the performance of PhysX.
This commit is contained in:
Sébastien Crozet
2020-09-06 12:55:01 +02:00
parent 38c1b7b457
commit 17edd0d46a

View File

@@ -6,7 +6,7 @@ members = [ "build/rapier2d", "build/rapier_testbed2d", "examples2d",
#wrapped2d = { git = "https://github.com/Bastacyclop/rust_box2d.git" }
[profile.release]
debug = true
#debug = true
codegen-units = 1
#opt-level = 1
#lto = true