aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSébastien Crozet <developer@crozet.re>2020-09-06 12:55:01 +0200
committerSébastien Crozet <developer@crozet.re>2020-09-06 12:55:01 +0200
commit17edd0d46a9f792fbb7337f93a927b3ae992455f (patch)
tree1f867013e5d09f5f987d27b9ba0d0fb50b4a8fc1
parent38c1b7b4574ea07d1ddda6abc65f4c3f38afa406 (diff)
downloadrapier-17edd0d46a9f792fbb7337f93a927b3ae992455f.tar.gz
rapier-17edd0d46a9f792fbb7337f93a927b3ae992455f.tar.bz2
rapier-17edd0d46a9f792fbb7337f93a927b3ae992455f.zip
Disable debug symbols in release mode.
I think this affects the performance of PhysX.
-rw-r--r--Cargo.toml2
1 files changed, 1 insertions, 1 deletions
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