From 53a6ebcea36109b1c474a2bddd7c057f7c356ac1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jalil=20David=20Salam=C3=A9=20Messina?= Date: Sun, 22 Dec 2024 00:57:51 +0100 Subject: [PATCH] fix(scripts): strip debug info Hopefully I will never have to debug these. --- scripts/audiomenu/Cargo.toml | 5 +++-- scripts/jpassmenu/Cargo.toml | 1 + 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/scripts/audiomenu/Cargo.toml b/scripts/audiomenu/Cargo.toml index 1f16f86..b469215 100644 --- a/scripts/audiomenu/Cargo.toml +++ b/scripts/audiomenu/Cargo.toml @@ -12,6 +12,7 @@ serde = { version = "1.0.215", features = ["derive"] } serde_json = "1.0.133" [profile.release] -panic = "abort" -opt-level = 's' lto = true +opt-level = 's' +panic = "abort" +strip = true diff --git a/scripts/jpassmenu/Cargo.toml b/scripts/jpassmenu/Cargo.toml index 4b29576..7ffa4ba 100644 --- a/scripts/jpassmenu/Cargo.toml +++ b/scripts/jpassmenu/Cargo.toml @@ -16,3 +16,4 @@ miette = { version = "7.4.0", features = ["fancy"] } lto = true opt-level = "s" panic = "abort" +strip = true