From 7de6f7907d185f3561a7fbd9e4377c5fe0b79c67 Mon Sep 17 00:00:00 2001 From: Jorge Aparicio Date: Mon, 27 Jan 2020 12:08:15 +0100 Subject: [PATCH] Extend the ARMv7-A `Pool` support to the bare-metal `armv7a-` targets. The built-in rustc targets ended with names that start with `armv7a-` so #140 does not cover them though the intention was to support them; this commit fixes that --- CHANGELOG.md | 6 ++++++ Cargo.toml | 2 +- build.rs | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4321e9dc..fd126328 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](http://semver.org/). ## [Unreleased] +## [v0.5.3] - 2020-01-27 + +### Added + +- Extend the ARMv7-A `Pool` support to the bare-metal `armv7a-` targets. + ## [v0.5.2] - 2020-01-15 ### Fixed diff --git a/Cargo.toml b/Cargo.toml index 1ff776e9..7f13d87b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -17,7 +17,7 @@ keywords = [ license = "MIT OR Apache-2.0" name = "heapless" repository = "https://github.com/japaric/heapless" -version = "0.5.2" +version = "0.5.3" [features] default = ["cas"] diff --git a/build.rs b/build.rs index 1f809cd1..203c7e9f 100644 --- a/build.rs +++ b/build.rs @@ -17,7 +17,7 @@ fn main() -> Result<(), Box> { println!("cargo:rustc-cfg=armv8m_base"); } else if target.starts_with("thumbv8m.main") { println!("cargo:rustc-cfg=armv8m_main"); - } else if target.starts_with("armv7-") { + } else if target.starts_with("armv7-") | target.starts_with("armv7a-") { println!("cargo:rustc-cfg=armv7a"); }