From 86bdb39ea066bd5ee6b781b034ac9d868bec5dee Mon Sep 17 00:00:00 2001 From: Wez Furlong Date: Thu, 9 Mar 2023 06:13:52 -0700 Subject: [PATCH] include line table debug info in release builds This gives a higher quality panic stack trace at the cost of inflating the executable size from ~50MB -> ~500MB. Full debug info is a possibility, but the executable size is ~800MB, which is high, but not completely crazy. I don't know if we'll really need that, so going with line debug for now. --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 12bc757b..7f8b0c13 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -14,5 +14,5 @@ resolver = "2" [profile.release] opt-level = 3 -# debug = 2 +debug = 1 # include line tables for more meaningful backtraces