0
0
mirror of https://github.com/termux/termux-packages.git synced 2024-11-23 13:46:16 +00:00
termux-packages/x11-packages/rnote/no-debug-Cargo.toml.patch
EDllT 08761f30ee
addpkg(x11/rnote): 0.11.0 (#21524)
Co-authored-by: Biswapriyo Nath <nathbappai@gmail.com>
Co-authored-by: TomIO <43716232+TomJo2000@users.noreply.github.com>
2024-09-25 01:59:44 +02:00

19 lines
518 B
Diff

diff --git a/Cargo.toml b/Cargo.toml
index 6a6aa16..7043460 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -94,11 +94,11 @@ piet-cairo = { git = "https://github.com/linebender/piet", rev = "02eb5f0152e893
[profile.dev]
debug = true
-opt-level = 2
+opt-level = 0 # We want proper gdb debugging for dev builds
[profile.release]
codegen-units = 1
lto = "fat"
opt-level = 3
# We want to be able to debug in the release build as well
-debug = true
+#debug = true # Performance and size matters for termux's packaging