142: Extend the ARMv7-A `Pool` support to the bare-metal `armv7a-` targets. r=japaric a=japaric

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

Co-authored-by: Jorge Aparicio <jorge.aparicio@ferrous-systems.com>
This commit is contained in:
bors[bot] 2020-01-27 11:11:01 +00:00 committed by GitHub
commit 1d6c207917
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 8 additions and 2 deletions

View File

@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
## [Unreleased] ## [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 ## [v0.5.2] - 2020-01-15
### Fixed ### Fixed

View File

@ -17,7 +17,7 @@ keywords = [
license = "MIT OR Apache-2.0" license = "MIT OR Apache-2.0"
name = "heapless" name = "heapless"
repository = "https://github.com/japaric/heapless" repository = "https://github.com/japaric/heapless"
version = "0.5.2" version = "0.5.3"
[features] [features]
default = ["cas"] default = ["cas"]

View File

@ -17,7 +17,7 @@ fn main() -> Result<(), Box<dyn Error>> {
println!("cargo:rustc-cfg=armv8m_base"); println!("cargo:rustc-cfg=armv8m_base");
} else if target.starts_with("thumbv8m.main") { } else if target.starts_with("thumbv8m.main") {
println!("cargo:rustc-cfg=armv8m_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"); println!("cargo:rustc-cfg=armv7a");
} }