Disable debug symbols in release mode.
I think this affects the performance of PhysX.
This commit is contained in:
@@ -6,7 +6,7 @@ members = [ "build/rapier2d", "build/rapier_testbed2d", "examples2d",
|
|||||||
#wrapped2d = { git = "https://github.com/Bastacyclop/rust_box2d.git" }
|
#wrapped2d = { git = "https://github.com/Bastacyclop/rust_box2d.git" }
|
||||||
|
|
||||||
[profile.release]
|
[profile.release]
|
||||||
debug = true
|
#debug = true
|
||||||
codegen-units = 1
|
codegen-units = 1
|
||||||
#opt-level = 1
|
#opt-level = 1
|
||||||
#lto = true
|
#lto = true
|
||||||
|
|||||||
Reference in New Issue
Block a user