Merge pull request #548 from rust-embedded/arc-atomics

Fix `pool::Arc` being enabled without atomics.
This commit is contained in:
Markus Reiter 2025-04-26 19:44:02 +00:00 committed by GitHub
commit 717c7b1006
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 2 additions and 3 deletions

View File

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

View File

@ -1,5 +1,3 @@
#![deny(warnings)]
use std::{
env,
error::Error,

View File

@ -54,6 +54,7 @@
mod treiber;
#[cfg(any(feature = "portable-atomic", target_has_atomic = "ptr"))]
pub mod arc;
pub mod boxed;
pub mod object;

View File

@ -1,6 +1,5 @@
#![deny(rust_2018_compatibility)]
#![deny(rust_2018_idioms)]
#![deny(warnings)]
use std::{ptr::addr_of_mut, thread};