mirror of
https://github.com/rust-embedded/heapless.git
synced 2025-09-28 13:00:26 +00:00
Merge pull request #548 from rust-embedded/arc-atomics
Fix `pool::Arc` being enabled without atomics.
This commit is contained in:
commit
717c7b1006
@ -100,6 +100,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
|
||||
### Fixed
|
||||
|
||||
- Fixed bug in `IndexMap::truncate` that left the map in an inconsistent state.
|
||||
- Fixed compilation on `thumbv6m-none-eabi` without `portable-atomic` feature.
|
||||
- Fixed clippy lints.
|
||||
- Fixed `{arc,box,object}_pool!` emitting clippy lints.
|
||||
- Fixed the list of implemented data structures in the crate docs, by adding `Deque`,
|
||||
|
@ -54,6 +54,7 @@
|
||||
|
||||
mod treiber;
|
||||
|
||||
#[cfg(any(feature = "portable-atomic", target_has_atomic = "ptr"))]
|
||||
pub mod arc;
|
||||
pub mod boxed;
|
||||
pub mod object;
|
||||
|
@ -1,6 +1,5 @@
|
||||
#![deny(rust_2018_compatibility)]
|
||||
#![deny(rust_2018_idioms)]
|
||||
#![deny(warnings)]
|
||||
|
||||
use std::{ptr::addr_of_mut, thread};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user