From 4c12165816681e97959be3e1e1cf28c6195a84da Mon Sep 17 00:00:00 2001 From: Jason Ish Date: Thu, 28 Nov 2024 10:06:29 -0600 Subject: [PATCH] rust: allow static_mut_refs for now But we should fix all these soon. --- rust/src/lib.rs | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/rust/src/lib.rs b/rust/src/lib.rs index 7b389f7b88..bea7854f10 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;