Skip to content

Commit

Permalink
rust: allow static_mut_refs for now
Browse files Browse the repository at this point in the history
But we should fix all these soon.

(cherry picked from commit 4c12165)
  • Loading branch information
jasonish authored and jlucovsky committed Dec 4, 2024
1 parent c180fb6 commit f166817
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions rust/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit f166817

Please sign in to comment.