Skip to content

Commit cc57e1d

Browse files
committed
Allow unknown lint in cortex-m-semihosting.
1 parent 4b6e7f2 commit cc57e1d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

cortex-m-semihosting/src/export.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
// This must be replaced by a different solution before rust edition 2024
44
// https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html
55
#![allow(static_mut_refs)]
6+
// the above lint is not known in our MSRV, so allow unknown lints
7+
#![allow(unknown_lints)]
68

79
use core::fmt::{self, Write};
810

0 commit comments

Comments
 (0)