From 8e5c5ce319a12500e811227c9c8064d86b3f7249 Mon Sep 17 00:00:00 2001 From: Matthew Fennell Date: Tue, 14 Oct 2025 19:03:43 +0100 Subject: Fix debug-file-with-no-debug-symbols --- .../0004-Strip-all-symbols-not-just-debuginfo.patch | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 debian/patches/0004-Strip-all-symbols-not-just-debuginfo.patch (limited to 'debian/patches/0004-Strip-all-symbols-not-just-debuginfo.patch') diff --git a/debian/patches/0004-Strip-all-symbols-not-just-debuginfo.patch b/debian/patches/0004-Strip-all-symbols-not-just-debuginfo.patch new file mode 100644 index 0000000..f1a25aa --- /dev/null +++ b/debian/patches/0004-Strip-all-symbols-not-just-debuginfo.patch @@ -0,0 +1,20 @@ +From: Matthew Fennell +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 -- cgit v1.2.3