Skip to content

Commit

Permalink
Allow mutable reference to mutable static
Browse files Browse the repository at this point in the history
  • Loading branch information
Urhengulas committed Oct 9, 2024
1 parent ff23210 commit de67ced
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions firmware/defmt-semihosting/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
//! log frames so don't use those APIs.

#![no_std]
#![allow(static_mut_refs)]

use core::sync::atomic::{AtomicBool, Ordering};

Expand Down

0 comments on commit de67ced

Please sign in to comment.