public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rust-zvariant4] f44: deny(warnings) considered harmful
@ 2026-10-27 15:13 Fabio Valentini
0 siblings, 0 replies; only message in thread
From: Fabio Valentini @ 2026-10-27 15:13 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/rust-zvariant4
Branch : f44
Commit : 772d28347cc92460971f16bd1b68372a7bac14ef
Author : Fabio Valentini <decathorpe@gmail.com>
Date : 2026-10-27T15:52:15+01:00
Stats : +25/-0 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/rust-zvariant4/c/772d28347cc92460971f16bd1b68372a7bac14ef?branch=f44
Log:
deny(warnings) considered harmful
---
diff --git a/0001-deny-warnings-considered-harmful.patch b/0001-deny-warnings-considered-harmful.patch
new file mode 100644
index 0000000..94339c4
--- /dev/null
+++ b/0001-deny-warnings-considered-harmful.patch
@@ -0,0 +1,24 @@
+From c69c0aba07b81a54f53eb2f38f6760c685560a98 Mon Sep 17 00:00:00 2001
+From: Fabio Valentini <decathorpe@gmail.com>
+Date: Tue, 27 Oct 2026 15:49:40 +0100
+Subject: [PATCH] deny(warnings) considered harmful
+
+---
+ src/lib.rs | 1 -
+ 1 file changed, 1 deletion(-)
+
+diff --git a/src/lib.rs b/src/lib.rs
+index 017513d..4b5c45e 100644
+--- a/src/lib.rs
++++ b/src/lib.rs
+@@ -6,7 +6,6 @@
+ #![doc = include_str!("../README.md")]
+ #![doc(test(attr(
+ warn(unused),
+- deny(warnings),
+ allow(dead_code),
+ // W/o this, we seem to get some bogus warning about `extern crate zbus`.
+ allow(unused_extern_crates),
+--
+2.56.0
+
diff --git a/rust-zvariant4.spec b/rust-zvariant4.spec
index fe7a55c..5c0b047 100644
--- a/rust-zvariant4.spec
+++ b/rust-zvariant4.spec
@@ -15,6 +15,7 @@ Source: %{crates_source}
# Manually created patch for downstream crate metadata changes
# * drop unused, benchmark-only criterion dev-dependency
Patch: zvariant-fix-metadata.diff
+Patch: 0001-deny-warnings-considered-harmful.patch
BuildRequires: cargo-rpm-macros >= 24
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-10-27 15:13 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-27 15:13 [rpms/rust-zvariant4] f44: deny(warnings) considered harmful Fabio Valentini
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox