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:
bors[bot] 2022-09-23 14:55:34 +00:00 committed by GitHub
commit 5229dea4e7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 4 deletions

View File

@ -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

View File

@ -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"