diff options
Diffstat (limited to 'panic-semihosting')
-rw-r--r-- | panic-semihosting/CHANGELOG.md | 3 | ||||
-rw-r--r-- | panic-semihosting/Cargo.toml | 3 | ||||
-rw-r--r-- | panic-semihosting/README.md | 2 | ||||
-rw-r--r-- | panic-semihosting/src/lib.rs | 8 |
4 files changed, 6 insertions, 10 deletions
diff --git a/panic-semihosting/CHANGELOG.md b/panic-semihosting/CHANGELOG.md index 95c3890..5f7bf7b 100644 --- a/panic-semihosting/CHANGELOG.md +++ b/panic-semihosting/CHANGELOG.md @@ -7,6 +7,9 @@ and this project adheres to [Semantic Versioning](http://semver.org/). ## [Unreleased] +- Always use inline-asm, requiring Rust 1.59. +- Remove inline-asm feature. + ## [v0.5.6] - 2020-11-14 - Fix update to docs.rs to build for an embedded target diff --git a/panic-semihosting/Cargo.toml b/panic-semihosting/Cargo.toml index 46a3d2f..4aaadb4 100644 --- a/panic-semihosting/Cargo.toml +++ b/panic-semihosting/Cargo.toml @@ -11,6 +11,8 @@ license = "MIT OR Apache-2.0" name = "panic-semihosting" repository = "https://github.com/rust-embedded/cortex-m" version = "0.5.6" +rust-version = "1.59" +edition = "2021" [dependencies] cortex-m = { path = "..", version = ">= 0.5.6, < 0.8" } @@ -18,7 +20,6 @@ cortex-m-semihosting = { path = "../cortex-m-semihosting", version = ">= 0.3, < [features] exit = [] -inline-asm = ["cortex-m-semihosting/inline-asm", "cortex-m/inline-asm"] jlink-quirks = ["cortex-m-semihosting/jlink-quirks"] [package.metadata.docs.rs] diff --git a/panic-semihosting/README.md b/panic-semihosting/README.md index baacf1a..f8057d3 100644 --- a/panic-semihosting/README.md +++ b/panic-semihosting/README.md @@ -8,7 +8,7 @@ This project is developed and maintained by the [Cortex-M team][team]. ## Minimum Supported Rust Version (MSRV) -This crate is guaranteed to compile on stable Rust 1.32.0 and up. It *might* +This crate is guaranteed to compile on stable Rust 1.59.0 and up. It *might* compile with older versions but that may change in any new patch release. ## License diff --git a/panic-semihosting/src/lib.rs b/panic-semihosting/src/lib.rs index 1db7b72..1d7379e 100644 --- a/panic-semihosting/src/lib.rs +++ b/panic-semihosting/src/lib.rs @@ -47,14 +47,6 @@ //! //! We discourage using this feature when the program will run on hardware as the exit call can //! leave the hardware debugger in an inconsistent state. -//! -//! ## `inline-asm` -//! -//! When this feature is enabled semihosting is implemented using inline assembly (`asm!`) and -//! compiling this crate requires nightly. -//! -//! When this feature is disabled semihosting is implemented using FFI calls into an external -//! assembly file and compiling this crate works on stable and beta. #![cfg(all(target_arch = "arm", target_os = "none"))] #![deny(missing_docs)] |