2
0
Fork 1
mirror of https://github.com/async-rs/async-std.git synced 2025-04-14 04:16:44 +00:00

fix CI for recent rustc

Allow for unused `pub use` in experimental API which doesn't have its mods public for noiw.
MIPS CI is fully broken (doesn't find the MIPS toolchain) so disable it for now.
Reenable powerpc64 which is no longer broken
This commit is contained in:
Marc-Antoine Perennou 2023-11-23 14:39:23 +01:00 committed by Marc-Antoine Perennou
parent 1adaa09626
commit bbde18ffbd
7 changed files with 14 additions and 3 deletions
.github/workflows
src
collections
option
result
string
sync
vec

View file

@ -132,8 +132,8 @@ jobs:
target:
- i686-unknown-linux-gnu
- powerpc-unknown-linux-gnu
# - powerpc64-unknown-linux-gnu
- mips-unknown-linux-gnu
- powerpc64-unknown-linux-gnu
# - mips-unknown-linux-gnu
- arm-linux-androideabi
steps:

View file

@ -11,10 +11,17 @@ pub mod hash_set;
pub mod linked_list;
pub mod vec_deque;
#[allow(unused)]
pub use binary_heap::BinaryHeap;
#[allow(unused)]
pub use btree_map::BTreeMap;
#[allow(unused)]
pub use btree_set::BTreeSet;
#[allow(unused)]
pub use hash_map::HashMap;
#[allow(unused)]
pub use hash_set::HashSet;
#[allow(unused)]
pub use linked_list::LinkedList;
#[allow(unused)]
pub use vec_deque::VecDeque;

View file

@ -5,6 +5,7 @@
mod from_stream;
#[allow(unused)]
#[doc(inline)]
pub use std::option::Option;

View file

@ -5,6 +5,7 @@
mod from_stream;
#[allow(unused)]
#[doc(inline)]
pub use std::result::Result;

View file

@ -5,5 +5,6 @@
mod extend;
mod from_stream;
#[allow(unused)]
#[doc(inline)]
pub use std::string::String;

View file

@ -149,7 +149,7 @@ impl WakerSet {
/// Returns `true` if at least one operation was notified.
#[cold]
fn notify(&self, n: Notify) -> bool {
let mut inner = &mut *self.lock();
let inner = &mut *self.lock();
let mut notified = false;
for (_, opt_waker) in inner.entries.iter_mut() {

View file

@ -6,5 +6,6 @@
mod extend;
mod from_stream;
#[allow(unused)]
#[doc(inline)]
pub use std::vec::Vec;