From 3f2da879ba214eb7f190f68d28bf215675d22f52 Mon Sep 17 00:00:00 2001 From: pinkforest <36498018+pinkforest@users.noreply.github.com> Date: Wed, 14 Dec 2022 05:21:10 +1100 Subject: [PATCH] Fix clippy for build.rs --- build.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/build.rs b/build.rs index 1df94610f..da4b82621 100644 --- a/build.rs +++ b/build.rs @@ -16,6 +16,7 @@ fn lotto_curve25519_dalek_bits() -> DalekBits { let target_triplet = std::env::var("TARGET").unwrap(); let platform = platforms::Platform::find(&target_triplet).unwrap(); + #[allow(clippy::match_single_binding)] match platform.target_arch { //Issues: 449 and 456 //TODO(Arm): Needs tests + benchmarks to back this up