Package: rust-lazy-regex
Version: 3.6.1+20260729+ds-1
Tags: patch

The rust-lazy-regex code fails to build when built with only the "lite"
feature. This manifests in Debian as an autopkgtest failure on amd64
only.

The problem is caused by the following hunk in 1001_fence_features.patch

-use {
-    super::regex,
-    std::borrow::Cow,
-};
+#[cfg(feature = "regex")]
+use super::regex;
+
+use std::borrow::Cow;
.
 /// Remove the first match of the regex from the text.
 ///

super::regex may point to either the regex crate or the regex-lite crate
depending on whether the lite feature is eanbled.

after removing that hunk, the autopkgtests pass.

Reply via email to