Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitbbde18f

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 parent1adaa09 commitbbde18f

File tree

7 files changed

+14
-3
lines changed

7 files changed

+14
-3
lines changed

‎.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
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

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,17 @@ pub mod hash_set;
1111
pubmod linked_list;
1212
pubmod vec_deque;
1313

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

‎src/option/mod.rs

Lines changed: 1 addition & 0 deletions
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
pubuse std::option::Option;
1011

‎src/result/mod.rs

Lines changed: 1 addition & 0 deletions
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
pubuse std::result::Result;
1011

‎src/string/mod.rs

Lines changed: 1 addition & 0 deletions
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
pubuse std::string::String;

‎src/sync/waker_set.rs

Lines changed: 1 addition & 1 deletion
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
fnnotify(&self,n:Notify) ->bool{
152-
letmutinner =&mut*self.lock();
152+
let inner =&mut*self.lock();
153153
letmut notified =false;
154154

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

‎src/vec/mod.rs

Lines changed: 1 addition & 0 deletions
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
pubuse std::vec::Vec;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp