summaryrefslogtreecommitdiff
path: root/Cargo.toml
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2022-09-06 08:22:02 +0300
committerLars Wirzenius <liw@liw.fi>2022-09-06 08:22:02 +0300
commit287d334122aed557e88de8bbabdee172df1b2afd (patch)
tree926b0c622add86c47c00a3715c7e2d02a88a1ecb /Cargo.toml
parentbb14f7f4528d97d4088c467e3cf74792e628eea2 (diff)
downloadriki-287d334122aed557e88de8bbabdee172df1b2afd.tar.gz
perf: enable debug symbols when building for release
This gives output that is easier to understand for "cargo flamegraph". Sponsored-by: author
Diffstat (limited to 'Cargo.toml')
-rw-r--r--Cargo.toml3
1 files changed, 3 insertions, 0 deletions
diff --git a/Cargo.toml b/Cargo.toml
index 2b08d0b..7008767 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -28,3 +28,6 @@ fehler = "1.0.0"
pandoc = "0.8.9"
pandoc_ast = "0.7.0"
serde_json = "1.0.81"
+
+[profile.release]
+debug = true