mirror of
https://github.com/rust-embedded/heapless.git
synced 2025-09-27 04:20:24 +00:00
Merge #320
320: switch to a more recent atomic-polyfill that compiles for AVR r=japaric a=japaric cleaned up version of PR #313 closes #313 Co-authored-by: Robert Forsman <git@thoth.purplefrog.com> Co-authored-by: Jorge Aparicio <jorge.aparicio@ferrous-systems.com>
This commit is contained in:
commit
5229dea4e7
@ -16,6 +16,9 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
|
||||
- [breaking-change] `IndexMap` and `IndexSet` now require that keys implement the `core::hash::Hash`
|
||||
trait instead of the `hash32::Hash` (v0.2.0) trait
|
||||
|
||||
- [breaking-change] this crate now depends on `atomic-polyfill` v1.0.1, meaning that targets that
|
||||
require a polyfill need a `critical-section` **v1.x.x** implementation.
|
||||
|
||||
### Fixed
|
||||
|
||||
### Removed
|
||||
|
@ -28,16 +28,16 @@ mpmc_large = []
|
||||
defmt-impl = ["defmt"]
|
||||
|
||||
[target.thumbv6m-none-eabi.dependencies]
|
||||
atomic-polyfill = { version = "0.1.2", optional = true }
|
||||
atomic-polyfill = { version = "1.0.1", optional = true }
|
||||
|
||||
[target.riscv32i-unknown-none-elf.dependencies]
|
||||
atomic-polyfill = { version = "0.1.4" }
|
||||
atomic-polyfill = { version = "1.0.1" }
|
||||
|
||||
[target.riscv32imc-unknown-none-elf.dependencies]
|
||||
atomic-polyfill = { version = "0.1.4" }
|
||||
atomic-polyfill = { version = "1.0.1" }
|
||||
|
||||
[target.'cfg(target_arch = "avr")'.dependencies]
|
||||
atomic-polyfill = { version = "0.1.8", optional = true }
|
||||
atomic-polyfill = { version = "1.0.1", optional = true }
|
||||
|
||||
[dependencies]
|
||||
hash32 = "0.3.0"
|
||||
|
Loading…
x
Reference in New Issue
Block a user