Skip to content

Commit af3f332

Browse files
authored
Update MSRV to 1.93.0 (#13127)
* Update MSRV to 1.93.0 Accompanying today's release of Rust 1.95 * Fix clippy warnings
1 parent 362f857 commit af3f332

File tree

4 files changed

+10
-10
lines changed

4 files changed

+10
-10
lines changed

.github/actions/install-rust/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ runs:
3232
elif [ "${{ inputs.toolchain }}" = "msrv" ]; then
3333
echo "version=1.$msrv.0" >> "$GITHUB_OUTPUT"
3434
elif [ "${{ inputs.toolchain }}" = "wasmtime-ci-pinned-nightly" ]; then
35-
echo "version=nightly-2026-04-10" >> "$GITHUB_OUTPUT"
35+
echo "version=nightly-2026-04-16" >> "$GITHUB_OUTPUT"
3636
elif [ "${{ inputs.toolchain }}" = "wasmtime-ci-oss-fuzz-pin" ]; then
3737
# Do not change this number unless OSS-Fuzz has updated. If you update
3838
# this version and do not update OSS-Fuzz then you will break our

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ authors = ["The Wasmtime Project Developers"]
195195
edition = "2024"
196196
# Wasmtime's current policy is that this number can be no larger than the
197197
# current stable release of Rust minus 2.
198-
rust-version = "1.92.0"
198+
rust-version = "1.93.0"
199199

200200
[workspace.lints.rust]
201201
# Turn on some lints which are otherwise allow-by-default in rustc.

cranelift/interpreter/src/step.rs

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -851,7 +851,7 @@ where
851851
assign(vectorizelanes(
852852
&(arg0
853853
.into_iter()
854-
.zip(arg1.into_iter())
854+
.zip(arg1)
855855
.map(|(x, y)| {
856856
DataValue::bool(
857857
fcmp(inst.fp_cond_code().unwrap(), &x, &y).unwrap(),
@@ -876,8 +876,8 @@ where
876876
assign(vectorizelanes(
877877
&(arg0
878878
.into_iter()
879-
.zip(arg1.into_iter())
880-
.zip(arg2.into_iter())
879+
.zip(arg1)
880+
.zip(arg2)
881881
.map(|((x, y), z)| DataValueExt::fma(x, y, z))
882882
.collect::<ValueResult<SimdVec<DataValue>>>()?),
883883
ctrl_ty,
@@ -904,7 +904,7 @@ where
904904
assign(vectorizelanes(
905905
&(arg0
906906
.into_iter()
907-
.zip(arg1.into_iter())
907+
.zip(arg1)
908908
.map(|(a, b)| scalar_min(a, b))
909909
.collect::<ValueResult<SimdVec<DataValue>>>()?),
910910
ctrl_ty,
@@ -931,7 +931,7 @@ where
931931
assign(vectorizelanes(
932932
&(arg0
933933
.into_iter()
934-
.zip(arg1.into_iter())
934+
.zip(arg1)
935935
.map(|(a, b)| scalar_max(a, b))
936936
.collect::<ValueResult<SimdVec<DataValue>>>()?),
937937
ctrl_ty,
@@ -1323,7 +1323,7 @@ where
13231323
let max: DataValue = DataValueExt::int(max as i128, double_width)?;
13241324
let new_vec = arg0
13251325
.into_iter()
1326-
.zip(arg1.into_iter())
1326+
.zip(arg1)
13271327
.map(|(x, y)| {
13281328
let x = x.into_int_signed()?;
13291329
let y = y.into_int_signed()?;
@@ -1462,7 +1462,7 @@ fn icmp(
14621462

14631463
let res = left
14641464
.into_iter()
1465-
.zip(right.into_iter())
1465+
.zip(right)
14661466
.map(|(l, r)| cmp(dst_ty.lane_type(), code, &l, &r))
14671467
.collect::<ValueResult<SimdVec<DataValue>>>()?;
14681468

crates/wasi-common/src/sync/sched/unix.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ pub async fn poll_oneoff<'a>(poll: &mut Poll<'a>) -> Result<(), Error> {
5252
}
5353
};
5454
if ready > 0 {
55-
for (rwsub, pollfd) in poll.rw_subscriptions().zip(pollfds.into_iter()) {
55+
for (rwsub, pollfd) in poll.rw_subscriptions().zip(pollfds) {
5656
let revents = pollfd.revents();
5757
let (nbytes, rwsub) = match rwsub {
5858
Subscription::Read(sub) => {

0 commit comments

Comments
 (0)