Skip to content

A lightweight WebAssembly runtime that is fast, secure, and standards-compliant

Update MSRV to 1.93.0 (#13127)

Alex Crichtonaf3f332b5b7e
diff --git a/.github/actions/install-rust/action.yml b/.github/actions/install-rust/action.yml
index 938c1efd02..9fded3cef1 100644
--- a/.github/actions/install-rust/action.yml
+++ b/.github/actions/install-rust/action.yml
@@ -32,7 +32,7 @@ runs:
elif [ "${{ inputs.toolchain }}" = "msrv" ]; then
echo "version=1.$msrv.0" >> "$GITHUB_OUTPUT"
elif [ "${{ inputs.toolchain }}" = "wasmtime-ci-pinned-nightly" ]; then
- echo "version=nightly-2026-04-10" >> "$GITHUB_OUTPUT"
+ echo "version=nightly-2026-04-16" >> "$GITHUB_OUTPUT"
elif [ "${{ inputs.toolchain }}" = "wasmtime-ci-oss-fuzz-pin" ]; then
# Do not change this number unless OSS-Fuzz has updated. If you update
# this version and do not update OSS-Fuzz then you will break our
diff --git a/Cargo.toml b/Cargo.toml
index bf9129cf55..76622e53e0 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -195,7 +195,7 @@ authors = ["The Wasmtime Project Developers"]
edition = "2024"
# Wasmtime's current policy is that this number can be no larger than the
# current stable release of Rust minus 2.
-rust-version = "1.92.0"
+rust-version = "1.93.0"
[workspace.lints.rust]
# Turn on some lints which are otherwise allow-by-default in rustc.
diff --git a/cranelift/interpreter/src/step.rs b/cranelift/interpreter/src/step.rs
index 323f49de9d..9ac203e0ff 100644
--- a/cranelift/interpreter/src/step.rs
+++ b/cranelift/interpreter/src/step.rs
@@ -851,7 +851,7 @@ where
assign(vectorizelanes(
&(arg0
.into_iter()
- .zip(arg1.into_iter())
+ .zip(arg1)
.map(|(x, y)| {
DataValue::bool(
fcmp(inst.fp_cond_code().unwrap(), &x, &y).unwrap(),
@@ -876,8 +876,8 @@ where
assign(vectorizelanes(
&(arg0
.into_iter()
- .zip(arg1.into_iter())
- .zip(arg2.into_iter())
+ .zip(arg1)
+ .zip(arg2)
.map(|((x, y), z)| DataValueExt::fma(x, y, z))
.collect::<ValueResult<SimdVec<DataValue>>>()?),
ctrl_ty,
@@ -904,7 +904,7 @@ where
assign(vectorizelanes(
&(arg0
.into_iter()
- .zip(arg1.into_iter())
+ .zip(arg1)
.map(|(a, b)| scalar_min(a, b))
.collect::<ValueResult<SimdVec<DataValue>>>()?),
ctrl_ty,
@@ -931,7 +931,7 @@ where
assign(vectorizelanes(
&(arg0
.into_iter()
- .zip(arg1.into_iter())
+ .zip(arg1)
.map(|(a, b)| scalar_max(a, b))
.collect::<ValueResult<SimdVec<DataValue>>>()?),
ctrl_ty,
@@ -1323,7 +1323,7 @@ where
let max: DataValue = DataValueExt::int(max as i128, double_width)?;
let new_vec = arg0
.into_iter()
- .zip(arg1.into_iter())
+ .zip(arg1)
.map(|(x, y)| {
let x = x.into_int_signed()?;
let y = y.into_int_signed()?;
@@ -1462,7 +1462,7 @@ fn icmp(
let res = left
.into_iter()
- .zip(right.into_iter())
+ .zip(right)
.map(|(l, r)| cmp(dst_ty.lane_type(), code, &l, &r))
.collect::<ValueResult<SimdVec<DataValue>>>()?;
diff --git a/crates/wasi-common/src/sync/sched/unix.rs b/crates/wasi-common/src/sync/sched/unix.rs
index a20fb230fc..548eea5de8 100644
--- a/crates/wasi-common/src/sync/sched/unix.rs
+++ b/crates/wasi-common/src/sync/sched/unix.rs
@@ -52,7 +52,7 @@ pub async fn poll_oneoff<'a>(poll: &mut Poll<'a>) -> Result<(), Error> {
}
};
if ready > 0 {
- for (rwsub, pollfd) in poll.rw_subscriptions().zip(pollfds.into_iter()) {
+ for (rwsub, pollfd) in poll.rw_subscriptions().zip(pollfds) {
let revents = pollfd.revents();
let (nbytes, rwsub) = match rwsub {
Subscription::Read(sub) => {