aboutsummaryrefslogtreecommitdiff
path: root/src-tauri
diff options
context:
space:
mode:
authorGeckoEidechse <40122905+GeckoEidechse@users.noreply.github.com>2023-03-01 01:35:41 +0100
committerGitHub <noreply@github.com>2023-03-01 01:35:41 +0100
commit3f860574850d18082c805a83c3c1240de29ea2ca (patch)
tree18fd75a687459afa42c510b7285424748d0f1e53 /src-tauri
parentce9ca1cf4ffef54c71a3751cb659482b581b4df4 (diff)
downloadFlightCore-3f860574850d18082c805a83c3c1240de29ea2ca.tar.gz
FlightCore-3f860574850d18082c805a83c3c1240de29ea2ca.zip
build: Keep line tables in release builds (#191)
* build: Keep line tables in release builds
Diffstat (limited to 'src-tauri')
-rw-r--r--src-tauri/Cargo.toml6
1 files changed, 6 insertions, 0 deletions
diff --git a/src-tauri/Cargo.toml b/src-tauri/Cargo.toml
index 3fe697ec..5638d6da 100644
--- a/src-tauri/Cargo.toml
+++ b/src-tauri/Cargo.toml
@@ -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 = [] }