aboutsummaryrefslogtreecommitdiff
path: root/src/lib.rs
diff options
context:
space:
mode:
authorGravatar Adam Greig <adam@adamgreig.com> 2022-05-15 22:09:34 +0100
committerGravatar Adam Greig <adam@adamgreig.com> 2022-05-15 22:17:54 +0100
commit6a650bc02e4a0807298ba5eeab420a99f9f7785f (patch)
tree8b925d1ba1ed54eb9e659fee530281d5736fda4a /src/lib.rs
parentb581ec74b295811387b4a2a4f4cfeeb91ec788d8 (diff)
downloadcortex-m-6a650bc02e4a0807298ba5eeab420a99f9f7785f.tar.gz
cortex-m-6a650bc02e4a0807298ba5eeab420a99f9f7785f.tar.zst
cortex-m-6a650bc02e4a0807298ba5eeab420a99f9f7785f.zip
Permit using inline-asm feature on stable Rust compilers
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib.rs b/src/lib.rs
index beff6e8..4790f98 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -22,7 +22,8 @@
//! - Some of the `register` API only becomes available only when `inline-asm` is enabled. Check the
//! API docs for details.
//!
-//! The disadvantage is that `inline-asm` requires a nightly toolchain.
+//! The disadvantage is that `inline-asm` requires a Rust version at least 1.59 to use the `asm!()`
+//! macro. In the future 0.8 and above versions of `cortex-m`, this feature will always be enabled.
//!
//! ## `cm7-r0p1`
//!
@@ -55,7 +56,6 @@
//! This crate is guaranteed to compile on stable Rust 1.38 and up. It *might*
//! compile with older versions but that may change in any new patch release.
-#![cfg_attr(feature = "inline-asm", feature(asm))]
#![deny(missing_docs)]
#![no_std]
#![allow(clippy::identity_op)]