From 2fcdd40a81105128b12b9060c257c85e8be32306 Mon Sep 17 00:00:00 2001 From: Tatsuyuki Ishi Date: Wed, 30 May 2018 18:08:35 +0900 Subject: [PATCH] Reduce debug level for release Backtraces are useful, but line-level debuginfo bloats the binary, and has impact on compile times notably. This reduces it to function-level debuginfo which is a good compromise point. --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 2489c61c..5c7f4f26 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -56,4 +56,4 @@ gl_generator = "0.9" [profile.release] lto = true -debug = true +debug = 1