From 3f860574850d18082c805a83c3c1240de29ea2ca Mon Sep 17 00:00:00 2001 From: GeckoEidechse <40122905+GeckoEidechse@users.noreply.github.com> Date: Wed, 1 Mar 2023 01:35:41 +0100 Subject: build: Keep line tables in release builds (#191) * build: Keep line tables in release builds --- src-tauri/Cargo.toml | 6 ++++++ 1 file changed, 6 insertions(+) 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 = [] } -- cgit v1.2.3