Update portable-atomic to 1.0
This commit is contained in:
parent
54e7d94998
commit
b5463b2f5e
|
@ -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.
|
||||
|
|
|
@ -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()`
|
||||
|
|
Loading…
Reference in New Issue