From 006ce3b639260532eb7f3796d31425a923d9cf16 Mon Sep 17 00:00:00 2001 From: Jan-Erik Rediger Date: Thu, 24 Oct 2024 14:42:20 +0200 Subject: [PATCH] Allow all clippy lints on generated uniffi code --- glean-core/src/lib.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/glean-core/src/lib.rs b/glean-core/src/lib.rs index 435d8b1a73..ff3d51804d 100644 --- a/glean-core/src/lib.rs +++ b/glean-core/src/lib.rs @@ -1232,6 +1232,8 @@ pub fn glean_enable_logging_to_fd(_fd: u64) { } #[allow(missing_docs)] +// uniffi-generated code should not be checked. +#[allow(clippy::all)] mod ffi { use super::*; uniffi::include_scaffolding!("glean");