Skip to content

Commit 46a3320

Browse files
committed
asm: silence warning about asm being stable
1 parent fcc0985 commit 46a3320

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/lib.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,8 @@
7676
// - A generated #[derive(Debug)] function (in which case the attribute needs
7777
// to be applied to the struct).
7878
#![deny(clippy::missing_inline_in_public_items)]
79+
// Don't warn about feature(asm) being stable on Rust >= 1.59.0
80+
#![allow(stable_features)]
7981

8082
extern crate bare_metal;
8183
extern crate volatile_register;

0 commit comments

Comments
 (0)