summaryrefslogtreecommitdiff
path: root/debian/patches/0004-Strip-all-symbols-not-just-debuginfo.patch
blob: f1a25aa6967e959ff75dc806229e920efc79de81 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
From: Matthew Fennell <matthew@fennell.dev>
Date: Tue, 14 Oct 2025 19:02:08 +0100
Subject: Strip all symbols, not just debuginfo

This is to fix the debug-file-with-no-debug-symbols lintian warning.
---
 Cargo.toml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/Cargo.toml b/Cargo.toml
index 09d9bd9..d59a544 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -10,3 +10,6 @@ crate-type = ["cdylib"]
 
 [dependencies]
 pyo3 = "=0.26.0"
+
+[profile.release]
+strip = true