aboutsummaryrefslogtreecommitdiff
path: root/asm/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 /asm/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 'asm/lib.rs')
-rw-r--r--asm/lib.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/asm/lib.rs b/asm/lib.rs
index fc8ddc8..48f3dc2 100644
--- a/asm/lib.rs
+++ b/asm/lib.rs
@@ -34,6 +34,8 @@
#![no_std]
#![crate_type = "staticlib"]
#![deny(warnings)]
+// Don't warn about feature(asm) being stable on Rust >= 1.59.0
+#![allow(stable_features)]
mod inline;