Skip to content

Commit 2f3f7ee

Browse files
fix ci errors
1 parent a6748a4 commit 2f3f7ee

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

futures-util/src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
)
1111
))]
1212
#![warn(missing_docs, unsafe_op_in_unsafe_fn)]
13-
#![cfg_attr(feature = "write-all-vectored", feature(io_slice_advance))]
13+
#![cfg_attr(feature = "write-all-vectored")]
1414
#![cfg_attr(docsrs, feature(doc_cfg))]
1515
#![allow(clippy::needless_borrow)] // https://github.com/rust-lang/futures-rs/pull/2558#issuecomment-1030745203
1616
#![allow(clippy::arc_with_non_send_sync)] // false positive https://github.com/rust-lang/rust-clippy/issues/11076

futures-util/src/stream/mod.rs

+1-2
Original file line numberDiff line numberDiff line change
@@ -127,12 +127,11 @@ pub use self::futures_unordered::FuturesUnordered;
127127
#[cfg_attr(target_os = "none", cfg(target_has_atomic = "ptr"))]
128128
#[cfg(feature = "alloc")]
129129
pub mod mapped_futures;
130-
#[cfg(not(futures_no_atomic_cas))]
131130
#[cfg(feature = "alloc")]
132131
#[doc(inline)]
133132
pub use self::mapped_futures::MappedFutures;
134133

135-
#[cfg(not(futures_no_atomic_cas))]
134+
#[cfg_attr(target_os = "none", cfg(target_has_atomic = "ptr"))]
136135
#[cfg(feature = "alloc")]
137136
pub mod select_all;
138137
#[cfg_attr(target_os = "none", cfg(target_has_atomic = "ptr"))]

0 commit comments

Comments
 (0)