Skip to content

Commit

Permalink
allow static_mut_refs
Browse files Browse the repository at this point in the history
  • Loading branch information
skyfloogle committed Nov 16, 2024
1 parent e9ff707 commit abd370f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
#![feature(naked_functions)]
#![allow(
static_mut_refs,
reason = "For a mostly single-threaded codebase, this is too much hassle. Just be careful in multi-threaded parts."
)]

#[cfg(not(all(windows, target_arch = "x86")))]
compile_error!("this tool only works on windows 32-bit");
Expand Down

0 comments on commit abd370f

Please sign in to comment.