From 5977b4b9f131c21ca83ce5154d07b3867c795391 Mon Sep 17 00:00:00 2001 From: enricobuehler Date: Fri, 17 Jul 2026 19:48:17 +0200 Subject: [PATCH] chore(libvpl-sys): silence clippy across the generated bindings Co-Authored-By: Claude Fable 5 --- crates/libvpl-sys/src/lib.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/crates/libvpl-sys/src/lib.rs b/crates/libvpl-sys/src/lib.rs index 53282296..56972208 100644 --- a/crates/libvpl-sys/src/lib.rs +++ b/crates/libvpl-sys/src/lib.rs @@ -10,6 +10,10 @@ #![allow(non_snake_case)] // Bindgen output for a C API: u128 layout warnings and the like are upstream's concern. #![allow(improper_ctypes)] +// Generated code — clippy findings in it (missing safety docs on generated unsafe fns, style +// nits across 14k lines) are bindgen's shape, not ours; the safe wrapper in pf-encode is the +// linted surface. +#![allow(clippy::all)] #[cfg(target_os = "windows")] include!(concat!(env!("OUT_DIR"), "/bindings.rs"));