From 3703a09ecae0997f8a8fbff827e1390578cae775 Mon Sep 17 00:00:00 2001 From: Adam Greig Date: Tue, 16 Apr 2024 20:12:50 +0100 Subject: [PATCH] c-m-rt: revert MSRV to 1.59 --- .github/workflows/rt-ci.yml | 2 +- cortex-m-rt/CHANGELOG.md | 3 ++- cortex-m-rt/Cargo.toml | 2 +- cortex-m-rt/README.md | 2 +- cortex-m-rt/macros/Cargo.toml | 2 +- cortex-m-rt/src/lib.rs | 2 +- 6 files changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/workflows/rt-ci.yml b/.github/workflows/rt-ci.yml index e3609ef0..55d3c45c 100644 --- a/.github/workflows/rt-ci.yml +++ b/.github/workflows/rt-ci.yml @@ -13,7 +13,7 @@ jobs: continue-on-error: ${{ matrix.experimental || false }} strategy: matrix: - rust: [nightly, stable, 1.60.0] + rust: [nightly, stable, 1.59.0] include: # Nightly is only for reference and allowed to fail diff --git a/cortex-m-rt/CHANGELOG.md b/cortex-m-rt/CHANGELOG.md index d4bab576..194fa60b 100644 --- a/cortex-m-rt/CHANGELOG.md +++ b/cortex-m-rt/CHANGELOG.md @@ -15,8 +15,9 @@ and this project adheres to [Semantic Versioning](http://semver.org/). It has one option `trampoline` which is true by default. When set to false, no trampoline will be created and the function will be called as the exception handler directly. -- MSRV increased to 1.60.0 to align with `embedded-hal` version 1. - Improve linker error message when code does not fit into flash. +- Update documentation on using custom linker scripts and linker sections + and on the `pre_init` function. ## [v0.7.3] diff --git a/cortex-m-rt/Cargo.toml b/cortex-m-rt/Cargo.toml index e945bac2..e8955542 100644 --- a/cortex-m-rt/Cargo.toml +++ b/cortex-m-rt/Cargo.toml @@ -16,7 +16,7 @@ version = "0.7.4" autoexamples = true links = "cortex-m-rt" # Prevent multiple versions of cortex-m-rt being linked edition = "2021" -rust-version = "1.60" +rust-version = "1.59" [dependencies] cortex-m-rt-macros = { path = "macros", version = "=0.7.0" } diff --git a/cortex-m-rt/README.md b/cortex-m-rt/README.md index 39d9ac8d..b62dbb53 100644 --- a/cortex-m-rt/README.md +++ b/cortex-m-rt/README.md @@ -11,7 +11,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.60.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/cortex-m-rt/macros/Cargo.toml b/cortex-m-rt/macros/Cargo.toml index 34b425fc..f548e19f 100644 --- a/cortex-m-rt/macros/Cargo.toml +++ b/cortex-m-rt/macros/Cargo.toml @@ -9,7 +9,7 @@ name = "cortex-m-rt-macros" repository = "https://github.com/rust-embedded/cortex-m" version = "0.7.0" edition = "2021" -rust-version = "1.60" +rust-version = "1.59" [lib] proc-macro = true diff --git a/cortex-m-rt/src/lib.rs b/cortex-m-rt/src/lib.rs index 238240fe..b927a023 100644 --- a/cortex-m-rt/src/lib.rs +++ b/cortex-m-rt/src/lib.rs @@ -455,7 +455,7 @@ //! //! # Minimum Supported Rust Version (MSRV) //! -//! The MSRV of this release is Rust 1.60.0. +//! The MSRV of this release is Rust 1.59.0. // # Developer notes //