On Sun, 27 Apr 2025 18:06:08 +0200 Matthias Geiger <werdah...@riseup.net> wrote:
debdiff attached.
Now with correct patch direction.
best,
werdahias
diff -Nru rust-safe-arch-0.7.4/debian/changelog rust-safe-arch-0.7.4/debian/changelog
--- rust-safe-arch-0.7.4/debian/changelog 2025-02-07 19:12:38.000000000 +0100
+++ rust-safe-arch-0.7.4/debian/changelog 2025-04-27 18:01:24.000000000 +0200
@@ -1,3 +1,10 @@
+rust-safe-arch (0.7.4-2.1) unstable; urgency=medium
+
+ * Non-maintainer upload.
+ * Add patch to skip doctests (Closes: #1081879)
+
+ -- Matthias Geiger <werdah...@debian.org> Sun, 27 Apr 2025 18:01:24 +0200
+
rust-safe-arch (0.7.4-2) unstable; urgency=medium
* declare rust-related build-dependencies unconditionally,
diff -Nru rust-safe-arch-0.7.4/debian/patches/disable-doctests.diff rust-safe-arch-0.7.4/debian/patches/disable-doctests.diff
--- rust-safe-arch-0.7.4/debian/patches/disable-doctests.diff 1970-01-01 01:00:00.000000000 +0100
+++ rust-safe-arch-0.7.4/debian/patches/disable-doctests.diff 2025-04-27 18:00:36.000000000 +0200
@@ -0,0 +1,19 @@
+Description: Skip doctests altogehter since they are flaky
+Author: Matthias Geiger <werdah...@debian.org>
+Forwarded: not-needed
+Last-Update: 2025-04-27
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+
+--- a/Cargo.toml
++++ b/Cargo.toml
+@@ -9,6 +9,9 @@
+ categories = ["api-bindings", "hardware-support", "no-std"]
+ keywords = ["intrinsics", "simd"]
+
++[lib]
++doctest = false
++
+ [dependencies]
+ # If enabled, gives bytemuck trait impls for our types
+ bytemuck = {version = "1.2", optional = true}
diff -Nru rust-safe-arch-0.7.4/debian/patches/series rust-safe-arch-0.7.4/debian/patches/series
--- rust-safe-arch-0.7.4/debian/patches/series 1970-01-01 01:00:00.000000000 +0100
+++ rust-safe-arch-0.7.4/debian/patches/series 2025-04-27 17:58:20.000000000 +0200
@@ -0,0 +1 @@
+disable-doctests.diff