Skip to content

Commit

Permalink
build: Keep debug symbols in release code
Browse files Browse the repository at this point in the history
for sentry.io
  • Loading branch information
GeckoEidechse committed Dec 22, 2024
1 parent 68eae7b commit bd52d5c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src-tauri/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@ edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[profile.release]
# Keeps line tables in built binary
# c.f.: https://doc.rust-lang.org/cargo/reference/profiles.html#debug
# This is done to see line numbers in stack trace on sentry.io
debug = 1

[lib]
# The `_lib` suffix may seem redundant but it is necessary
# to make the lib name unique and wouldn't conflict with the bin name.
Expand Down

0 comments on commit bd52d5c

Please sign in to comment.