mirror of
https://github.com/rust-embedded/heapless.git
synced 2025-09-27 20:40:32 +00:00
Merge #142
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:
commit
1d6c207917
@ -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
|
||||||
|
@ -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"]
|
||||||
|
2
build.rs
2
build.rs
@ -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");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user