From: Jason Ish Date: Thu, 28 Nov 2024 16:06:29 +0000 (-0600) Subject: rust: allow static_mut_refs for now X-Git-Tag: suricata-7.0.8~26 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a502c188c58cbee6fe97e90e256c49a251e9150b;p=thirdparty%2Fsuricata.git rust: allow static_mut_refs for now But we should fix all these soon. (cherry picked from commit 4c12165816681e97959be3e1e1cf28c6195a84da) --- diff --git a/rust/src/lib.rs b/rust/src/lib.rs index 7091e73e82..6782cc307a 100644 --- a/rust/src/lib.rs +++ b/rust/src/lib.rs @@ -53,6 +53,13 @@ // cf https://github.com/mozilla/cbindgen/issues/709 #![allow(unused_doc_comments)] +// Allow unknown lints, our MSRV doesn't know them all, for +// example static_mut_refs. +#![allow(unknown_lints)] + +// Allow for now, but need to be fixed. +#![allow(static_mut_refs)] + #[macro_use] extern crate bitflags; extern crate byteorder;