Update portable-atomic to 1.0

This commit is contained in:
Taiki Endo 2023-01-15 23:07:27 +09:00
parent 54e7d94998
commit b5463b2f5e
2 changed files with 5 additions and 5 deletions

View File

@ -23,7 +23,7 @@ bench = false
[dependencies]
crossbeam-utils = { version = "0.8.11", default-features = false }
portable-atomic = { version = "0.3", default-features = false, optional = true }
portable-atomic = { version = "1", default-features = false, optional = true }
# Enables loom testing. This feature is permanently unstable and the API may
# change at any time.

View File

@ -33,10 +33,10 @@
//!
//! There is also a `portable-atomic` feature, which uses a polyfill from the
//! [`portable-atomic`] crate to provide atomic operations on platforms that do not support them.
//! See the [`README`] for the [`portable-atomic`] crate for more information on how to use it on
//! single-threaded targets. Note that even with this feature enabled, `concurrent-queue` still
//! requires a global allocator to be available. See the documentation for the
//! [`std::alloc::GlobalAlloc`] trait for more information.
//! See the [`README`] for the [`portable-atomic`] crate for more information on how to use it.
//! Note that even with this feature enabled, `concurrent-queue` still requires a global allocator
//! to be available. See the documentation for the [`std::alloc::GlobalAlloc`] trait for more
//! information.
//!
//! [Bounded]: `ConcurrentQueue::bounded()`
//! [Unbounded]: `ConcurrentQueue::unbounded()`