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.
This commit is contained in:
Wez Furlong
2023-03-09 18:50:24 -07:00
parent a5d6f46175
commit 86bdb39ea0
+1 -1
View File
@@ -14,5 +14,5 @@ resolver = "2"
[profile.release]
opt-level = 3
# debug = 2
debug = 1 # include line tables for more meaningful backtraces