Skip to content

Commit 6a650bc

Browse files
committed
Permit using inline-asm feature on stable Rust compilers
1 parent b581ec7 commit 6a650bc

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

CHANGELOG.md

+7
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,17 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
77

88
## [Unreleased]
99

10+
## [v0.7.5] - 2022-05-15
11+
1012
### Deprecated
1113
- the `ptr()` function on all peripherals register blocks in favor of
1214
the associated constant `PTR` (#386).
1315

16+
### Changed
17+
18+
- The `inline-asm` feature no longer requires a nightly Rust compiler, but
19+
does require Rust 1.59 or above.
20+
1421
## [v0.7.4] - 2021-12-31
1522

1623
### Added

src/lib.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@
2222
//! - Some of the `register` API only becomes available only when `inline-asm` is enabled. Check the
2323
//! API docs for details.
2424
//!
25-
//! The disadvantage is that `inline-asm` requires a nightly toolchain.
25+
//! The disadvantage is that `inline-asm` requires a Rust version at least 1.59 to use the `asm!()`
26+
//! macro. In the future 0.8 and above versions of `cortex-m`, this feature will always be enabled.
2627
//!
2728
//! ## `cm7-r0p1`
2829
//!
@@ -55,7 +56,6 @@
5556
//! This crate is guaranteed to compile on stable Rust 1.38 and up. It *might*
5657
//! compile with older versions but that may change in any new patch release.
5758
58-
#![cfg_attr(feature = "inline-asm", feature(asm))]
5959
#![deny(missing_docs)]
6060
#![no_std]
6161
#![allow(clippy::identity_op)]

0 commit comments

Comments
 (0)