Skip to content

Commit

Permalink
fix CI for recent rustc
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Keruspe committed Nov 23, 2023
1 parent 1adaa09 commit bbde18f
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
7 changes: 7 additions & 0 deletions src/collections/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
1 change: 1 addition & 0 deletions src/option/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
mod from_stream;

#[allow(unused)]
#[doc(inline)]
pub use std::option::Option;

Expand Down
1 change: 1 addition & 0 deletions src/result/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
mod from_stream;

#[allow(unused)]
#[doc(inline)]
pub use std::result::Result;

Expand Down
1 change: 1 addition & 0 deletions src/string/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,6 @@
mod extend;
mod from_stream;

#[allow(unused)]
#[doc(inline)]
pub use std::string::String;
2 changes: 1 addition & 1 deletion src/sync/waker_set.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down
1 change: 1 addition & 0 deletions src/vec/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,6 @@
mod extend;
mod from_stream;

#[allow(unused)]
#[doc(inline)]
pub use std::vec::Vec;

0 comments on commit bbde18f

Please sign in to comment.