Skip to content

Commit bbde18f

Browse files
committed
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
1 parent 1adaa09 commit bbde18f

File tree

7 files changed

+14
-3
lines changed

7 files changed

+14
-3
lines changed

.github/workflows/ci.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -132,8 +132,8 @@ jobs:
132132
target:
133133
- i686-unknown-linux-gnu
134134
- powerpc-unknown-linux-gnu
135-
# - powerpc64-unknown-linux-gnu
136-
- mips-unknown-linux-gnu
135+
- powerpc64-unknown-linux-gnu
136+
# - mips-unknown-linux-gnu
137137
- arm-linux-androideabi
138138

139139
steps:

src/collections/mod.rs

+7
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,17 @@ pub mod hash_set;
1111
pub mod linked_list;
1212
pub mod vec_deque;
1313

14+
#[allow(unused)]
1415
pub use binary_heap::BinaryHeap;
16+
#[allow(unused)]
1517
pub use btree_map::BTreeMap;
18+
#[allow(unused)]
1619
pub use btree_set::BTreeSet;
20+
#[allow(unused)]
1721
pub use hash_map::HashMap;
22+
#[allow(unused)]
1823
pub use hash_set::HashSet;
24+
#[allow(unused)]
1925
pub use linked_list::LinkedList;
26+
#[allow(unused)]
2027
pub use vec_deque::VecDeque;

src/option/mod.rs

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
66
mod from_stream;
77

8+
#[allow(unused)]
89
#[doc(inline)]
910
pub use std::option::Option;
1011

src/result/mod.rs

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
66
mod from_stream;
77

8+
#[allow(unused)]
89
#[doc(inline)]
910
pub use std::result::Result;
1011

src/string/mod.rs

+1
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,6 @@
55
mod extend;
66
mod from_stream;
77

8+
#[allow(unused)]
89
#[doc(inline)]
910
pub use std::string::String;

src/sync/waker_set.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ impl WakerSet {
149149
/// Returns `true` if at least one operation was notified.
150150
#[cold]
151151
fn notify(&self, n: Notify) -> bool {
152-
let mut inner = &mut *self.lock();
152+
let inner = &mut *self.lock();
153153
let mut notified = false;
154154

155155
for (_, opt_waker) in inner.entries.iter_mut() {

src/vec/mod.rs

+1
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,6 @@
66
mod extend;
77
mod from_stream;
88

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

0 commit comments

Comments
 (0)