mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-02 05:41:16 -03:00
build.rs: fix MSRV (1.70) clippy
(cherry picked from commit 86ec8994e6)
This commit is contained in:
1
build.rs
1
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",
|
||||
|
||||
Reference in New Issue
Block a user