Skip to content

armgit / Pake

Public Imported from GitHub
0

Turn any website into a lightweight desktop app with one command, on macOS, Windows and Linux.

build: drop debug info for dependencies in dev builds

youxi798f5db32b4f3f7
diff --git a/src-tauri/Cargo.toml b/src-tauri/Cargo.toml
index b63d0550..63689d3a 100644
--- a/src-tauri/Cargo.toml
+++ b/src-tauri/Cargo.toml
@@ -97,3 +97,8 @@ codegen-units = 1
lto = "thin"
opt-level = "z"
strip = true
+
+# Debug info only for the pake crate: a clean debug build drops from 3.5G to 2.4G,
+# backtraces and breakpoints in pake code are unchanged.
+[profile.dev.package."*"]
+debug = false