diff options
author | 2022-05-15 22:09:34 +0100 | |
---|---|---|
committer | 2022-05-15 22:17:54 +0100 | |
commit | 6a650bc02e4a0807298ba5eeab420a99f9f7785f (patch) | |
tree | 8b925d1ba1ed54eb9e659fee530281d5736fda4a | |
parent | b581ec74b295811387b4a2a4f4cfeeb91ec788d8 (diff) | |
download | cortex-m-6a650bc02e4a0807298ba5eeab420a99f9f7785f.tar.gz cortex-m-6a650bc02e4a0807298ba5eeab420a99f9f7785f.tar.zst cortex-m-6a650bc02e4a0807298ba5eeab420a99f9f7785f.zip |
Permit using inline-asm feature on stable Rust compilers
-rw-r--r-- | CHANGELOG.md | 7 | ||||
-rw-r--r-- | src/lib.rs | 4 |
2 files changed, 9 insertions, 2 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index ddc03a7..a406a05 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,10 +7,17 @@ and this project adheres to [Semantic Versioning](http://semver.org/). ## [Unreleased] +## [v0.7.5] - 2022-05-15 + ### Deprecated - the `ptr()` function on all peripherals register blocks in favor of the associated constant `PTR` (#386). +### Changed + +- The `inline-asm` feature no longer requires a nightly Rust compiler, but + does require Rust 1.59 or above. + ## [v0.7.4] - 2021-12-31 ### Added @@ -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)] |