python-cramjam/0001-Downstream-only-do-not-strip-the-compiled-Python-ext.patch
2024-02-14 08:08:27 -05:00

28 lines
796 B
Diff

From d9bd99591c52a8114d38e2a799a2f6101410eb4b Mon Sep 17 00:00:00 2001
From: "Benjamin A. Beasley" <code@musicinmybrain.net>
Date: Fri, 2 Feb 2024 12:51:24 -0500
Subject: [PATCH] Downstream-only: do not strip the compiled Python extension
module
We need useful debuginfo. Upstream set this intentionally, so this makes
sense to keep downstream-only.
---
cramjam-python/pyproject.toml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/cramjam-python/pyproject.toml b/cramjam-python/pyproject.toml
index 2a4aa85..16ed5b8 100644
--- a/cramjam-python/pyproject.toml
+++ b/cramjam-python/pyproject.toml
@@ -14,7 +14,7 @@ requires = ["maturin>=0.14"]
build-backend = "maturin"
[tool.maturin]
-strip = true
+strip = false
[project.optional-dependencies]
dev = [
--
2.43.0