From 17edd0d46a9f792fbb7337f93a927b3ae992455f Mon Sep 17 00:00:00 2001 From: Sébastien Crozet Date: Sun, 6 Sep 2020 12:55:01 +0200 Subject: Disable debug symbols in release mode. I think this affects the performance of PhysX. --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 100b8bb..8ccf463 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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 -- cgit