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.
  • Loading branch information
jasonish authored and victorjulien committed Nov 29, 2024
1 parent aa6e94f commit 4c12165
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 4c12165

Please sign in to comment.