Skip to content

Commit a40776c

Browse files
authored
Bump MSRV to 1.80 (bytecodealliance#9496)
* Bump MSRV to 1.80 This commit updates the minimum Rust version required to compile Wasmtime to 1.80.0 from the previous 1.78.0. * Update rust installation in CI * Change MSRV window back to 2 now that oss-fuzz is resolved * Update the nightly to the latest nightly * Undo most of the nightly update
1 parent 2f684ba commit a40776c

File tree

2 files changed

+3
-11
lines changed

2 files changed

+3
-11
lines changed

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

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,7 @@ inputs:
99
msrv_range:
1010
description: 'Versions later-than-latest-Rust the MSRV supports'
1111
required: false
12-
# Note that this is currently set to 3 as the MSRV is 1.78 and current
13-
# stable is 1.81. Currently MSRV cannot be updated as it would break the
14-
# build on OSS-Fuzz which hasn't updated its Rust compiler in quite some time.
15-
#
16-
# Updating OSS-Fuzz is being done in
17-
# https://github.com/google/oss-fuzz/pull/12365 but it's taking some time,
18-
# so for now this'll get bumped instead of MSRV while we wait for the update
19-
# to happen.
20-
default: '3'
12+
default: '2'
2113

2214
runs:
2315
using: composite
@@ -36,7 +28,7 @@ runs:
3628
elif [ "${{ inputs.toolchain }}" = "msrv" ]; then
3729
echo "version=1.$msrv.0" >> "$GITHUB_OUTPUT"
3830
elif [ "${{ inputs.toolchain }}" = "wasmtime-ci-pinned-nightly" ]; then
39-
echo "version=nightly-2024-10-01" >> "$GITHUB_OUTPUT"
31+
echo "version=nightly-2024-10-02" >> "$GITHUB_OUTPUT"
4032
else
4133
echo "version=${{ inputs.toolchain }}" >> "$GITHUB_OUTPUT"
4234
fi

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ authors = ["The Wasmtime Project Developers"]
165165
edition = "2021"
166166
# Wasmtime's current policy is that this number can be no larger than the
167167
# current stable release of Rust minus 2.
168-
rust-version = "1.78.0"
168+
rust-version = "1.80.0"
169169

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

0 commit comments

Comments
 (0)