diff options
author | 2021-12-19 19:14:35 +0000 | |
---|---|---|
committer | 2021-12-19 19:14:35 +0000 | |
commit | 441cb87e4095eafbd8b170d8f0848b99fa1ec72e (patch) | |
tree | bcaaea6de994c621f968c85c933b866162b30a16 /src/lib.rs | |
parent | ae1d2a62d895dc458784c465e021a010cb75a8b1 (diff) | |
parent | 7e1548f2d7c5c26ba898cceadbde9a7dd2949ab2 (diff) | |
download | cortex-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.rs | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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; |