aboutsummaryrefslogtreecommitdiff
path: root/src/lib.rs
diff options
context:
space:
mode:
authorGravatar bors[bot] <26634292+bors[bot]@users.noreply.github.com> 2021-12-19 19:14:35 +0000
committerGravatar GitHub <noreply@github.com> 2021-12-19 19:14:35 +0000
commit441cb87e4095eafbd8b170d8f0848b99fa1ec72e (patch)
treebcaaea6de994c621f968c85c933b866162b30a16 /src/lib.rs
parentae1d2a62d895dc458784c465e021a010cb75a8b1 (diff)
parent7e1548f2d7c5c26ba898cceadbde9a7dd2949ab2 (diff)
downloadcortex-m-441cb87e4095eafbd8b170d8f0848b99fa1ec72e.tar.gz
cortex-m-441cb87e4095eafbd8b170d8f0848b99fa1ec72e.tar.zst
cortex-m-441cb87e4095eafbd8b170d8f0848b99fa1ec72e.zip
Merge #372
372: asm/inline: explicitly use asm macro r=adamgreig a=jordens `asm!()` removed from prelude in current nightly https://github.com/rust-lang/rust/pull/91728 close #371 This is also a good candidate for the cortex-m v0.7 series. Co-authored-by: Robert Jördens <rj@quartiq.de> Co-authored-by: Adam Greig <adam@adamgreig.com>
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib.rs b/src/lib.rs
index a267750..0914639 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -76,6 +76,8 @@
// - A generated #[derive(Debug)] function (in which case the attribute needs
// to be applied to the struct).
#![deny(clippy::missing_inline_in_public_items)]
+// Don't warn about feature(asm) being stable on Rust >= 1.59.0
+#![allow(stable_features)]
extern crate bare_metal;
extern crate volatile_register;