Skip to content

Commit c346aac

Browse files
authored
CI: Update Rust Nightly to a very recent version (#679)
Address a Nightly Clippy complaint and update to the nightly-2025-06-01 toolchain. This allows us to validate upcoming changes. This will help with filing issues against rust-lang/rust for recent Nightly releases that affect us.
1 parent c5b35fd commit c346aac

5 files changed

Lines changed: 8 additions & 8 deletions

File tree

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ jobs:
156156
- uses: actions/checkout@v4
157157
- uses: dtolnay/rust-toolchain@master
158158
with:
159-
toolchain: nightly-2025-02-15
159+
toolchain: nightly-2025-06-01
160160
components: rust-src
161161
- env:
162162
RUSTFLAGS: -Dwarnings --cfg getrandom_backend="linux_raw"
@@ -190,7 +190,7 @@ jobs:
190190
- uses: dtolnay/rust-toolchain@master
191191
with:
192192
targets: ${{ matrix.target.target }}
193-
toolchain: nightly-2024-10-24
193+
toolchain: nightly-2025-06-01
194194
components: rust-src
195195
- uses: Swatinem/rust-cache@v2
196196
- name: Build

.github/workflows/nopanic.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ jobs:
140140
- uses: actions/checkout@v4
141141
- uses: dtolnay/rust-toolchain@master
142142
with:
143-
toolchain: nightly-2024-10-14
143+
toolchain: nightly-2025-06-01
144144
components: rust-src
145145
- run: cargo build --release
146146
- run: cargo build --release --target=x86_64-win7-windows-msvc -Zbuild-std="std,panic_abort"

.github/workflows/tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ jobs:
133133
# Win7 targets are Tier3, so pin a nightly where libstd builds.
134134
- uses: dtolnay/rust-toolchain@master
135135
with:
136-
toolchain: nightly-2024-05-20
136+
toolchain: nightly-2025-06-01
137137
components: rust-src
138138
- uses: Swatinem/rust-cache@v2
139139
- run: cargo test --target=x86_64-win7-windows-msvc -Z build-std --features=std
@@ -146,7 +146,7 @@ jobs:
146146
- uses: actions/checkout@v4
147147
- uses: dtolnay/rust-toolchain@master
148148
with:
149-
toolchain: nightly-2024-10-08
149+
toolchain: nightly-2025-06-01
150150
components: rust-src
151151
- env:
152152
RUSTFLAGS: -Dwarnings -Zsanitizer=memory

.github/workflows/workspace.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
# Fixed Nigthly version is used to prevent
2424
# CI failures which are not relevant to PR changes
2525
# on introduction of new Clippy lints.
26-
toolchain: nightly-2024-10-08
26+
toolchain: nightly-2025-06-01
2727
components: clippy,rust-src
2828
- name: std feature
2929
run: cargo clippy --features std
@@ -110,7 +110,7 @@ jobs:
110110
- uses: dtolnay/rust-toolchain@master
111111
with:
112112
# We need Nightly for doc_auto_cfg
113-
toolchain: nightly-2024-09-04
113+
toolchain: nightly-2025-06-01
114114
- uses: Swatinem/rust-cache@v2
115115
- name: Generate Docs
116116
env:

src/error.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ impl fmt::Display for Error {
200200
if #[cfg(feature = "std")] {
201201
std::io::Error::from_raw_os_error(errno).fmt(f)
202202
} else {
203-
write!(f, "OS Error: {}", errno)
203+
write!(f, "OS Error: {errno}")
204204
}
205205
}
206206
} else if let Some(desc) = self.internal_desc() {

0 commit comments

Comments
 (0)