From 5d9764d6276bae4e79cf92dcdc367acf9f2d94a6 Mon Sep 17 00:00:00 2001 From: abose Date: Fri, 26 Jul 2024 11:55:28 +0530 Subject: [PATCH 1/2] chore: release build symbols for bugsnag crash reports --- src-tauri/Cargo.toml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src-tauri/Cargo.toml b/src-tauri/Cargo.toml index 7e3cd333..6228b43f 100644 --- a/src-tauri/Cargo.toml +++ b/src-tauri/Cargo.toml @@ -50,3 +50,7 @@ default = ["custom-protocol"] # this feature is used used for production builds where `devPath` points to the filesystem # DO NOT remove this custom-protocol = ["tauri/custom-protocol"] + +[profile.release] +debug = "line-tables-only" +split-debuginfo = "unpacked" From e1bef679556a41c9170a2b87f33f50fbc887669e Mon Sep 17 00:00:00 2001 From: abose Date: Fri, 26 Jul 2024 12:04:01 +0530 Subject: [PATCH 2/2] fix: dep build fail https://users.rust-lang.org/t/time-crate-compilation-error/111789 --- src-tauri/Cargo.lock | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src-tauri/Cargo.lock b/src-tauri/Cargo.lock index 01067a28..785cf679 100644 --- a/src-tauri/Cargo.lock +++ b/src-tauri/Cargo.lock @@ -4429,9 +4429,9 @@ dependencies = [ [[package]] name = "time" -version = "0.3.34" +version = "0.3.36" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c8248b6521bb14bc45b4067159b9b6ad792e2d6d754d6c41fb50e29fefe38749" +checksum = "5dfd88e563464686c916c7e46e623e520ddc6d79fa6641390f2e3fa86e83e885" dependencies = [ "deranged", "itoa 1.0.10", @@ -4450,9 +4450,9 @@ checksum = "ef927ca75afb808a4d64dd374f00a2adf8d0fcff8e7b184af886c3c87ec4a3f3" [[package]] name = "time-macros" -version = "0.2.17" +version = "0.2.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7ba3a3ef41e6672a2f0f001392bb5dcd3ff0a9992d618ca761a11c3121547774" +checksum = "3f252a68540fde3a3877aeea552b832b40ab9a69e318efd078774a01ddee1ccf" dependencies = [ "num-conv", "time-core",