From 0ace46d1276449da75864cb42a1d7c08691df7ce Mon Sep 17 00:00:00 2001 From: Johannes Altmanninger Date: Tue, 30 Sep 2025 12:05:12 +0200 Subject: [PATCH] build.rs: fix MSRV (1.70) clippy (cherry picked from commit 86ec8994e6dcf8832821a9501aa9d544e8a90848) --- build.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/build.rs b/build.rs index 0608381de..f1a663aaf 100644 --- a/build.rs +++ b/build.rs @@ -133,6 +133,7 @@ fn detect_bsd(_: &Target) -> bool { if !target.chars().all(|c| c.is_ascii_lowercase()) { target = target.to_ascii_lowercase(); } + #[allow(clippy::let_and_return)] // for old clippy let is_bsd = target.ends_with("bsd") || target.ends_with("dragonfly"); #[cfg(any( target_os = "dragonfly",