Skip to content

Commit

Permalink
build: Keep line tables in release builds (#191)
Browse files Browse the repository at this point in the history
* build: Keep line tables in release builds
  • Loading branch information
GeckoEidechse authored Mar 1, 2023
1 parent ce9ca1c commit 3f86057
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 @@ -11,6 +11,12 @@ rust-version = "1.66"

# 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

[build-dependencies]
tauri-build = { version = "1.2", features = [] }

Expand Down

0 comments on commit 3f86057

Please sign in to comment.