diff options
author | 2021-12-19 19:14:35 +0000 | |
---|---|---|
committer | 2021-12-31 17:22:59 +0000 | |
commit | 9631347812a536f00f00c6698b8da2af98237ce6 (patch) | |
tree | 36a9c28505518035a4c24079b3426e77b4652d5d /src | |
parent | 4b536898ca8da6d20bd54d91fd7938aae0c538bf (diff) | |
download | cortex-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.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; |