aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar bors[bot] <26634292+bors[bot]@users.noreply.github.com> 2021-12-19 19:14:35 +0000
committerGravatar Adam Greig <adam@adamgreig.com> 2021-12-31 17:22:59 +0000
commit9631347812a536f00f00c6698b8da2af98237ce6 (patch)
tree36a9c28505518035a4c24079b3426e77b4652d5d /src
parent4b536898ca8da6d20bd54d91fd7938aae0c538bf (diff)
downloadcortex-m-9631347812a536f00f00c6698b8da2af98237ce6.tar.gz
cortex-m-9631347812a536f00f00c6698b8da2af98237ce6.tar.zst
cortex-m-9631347812a536f00f00c6698b8da2af98237ce6.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')
-rw-r--r--src/lib.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 6a73692..beff6e8 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;