Skip to content

Commit 4898322

Browse files
authored
Update MSRV to 1.90.0 (#12167)
* Update MSRV to 1.90.0 Coupled with last week's release of 1.92.0. prtest:full * Fix some warnings * Fix another warning
1 parent 05277cf commit 4898322

File tree

5 files changed

+5
-2
lines changed

5 files changed

+5
-2
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-2025-11-25" >> "$GITHUB_OUTPUT"
35+
echo "version=nightly-2025-12-15" >> "$GITHUB_OUTPUT"
3636
else
3737
echo "version=${{ inputs.toolchain }}" >> "$GITHUB_OUTPUT"
3838
fi

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ authors = ["The Wasmtime Project Developers"]
189189
edition = "2024"
190190
# Wasmtime's current policy is that this number can be no larger than the
191191
# current stable release of Rust minus 2.
192-
rust-version = "1.89.0"
192+
rust-version = "1.90.0"
193193

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

crates/wasmtime/src/runtime/vm/libcalls.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,7 @@ pub mod raw {
115115
// with conversion of the return value in the face of traps.
116116
#[allow(improper_ctypes_definitions, reason = "__m128i known not FFI-safe")]
117117
#[allow(unused_variables, reason = "macro-generated")]
118+
#[allow(unreachable_code, reason = "some types uninhabited on some platforms")]
118119
pub unsafe extern "C" fn $name(
119120
vmctx: NonNull<VMContext>,
120121
$( $pname : libcall!(@ty $param), )*

crates/wasmtime/src/runtime/vm/traphandlers.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,7 @@ macro_rules! host_result_no_catch {
181181
$(
182182
impl HostResult for $t {
183183
type Abi = $t;
184+
#[allow(unreachable_code, reason = "some types uninhabited on some platforms")]
184185
fn maybe_catch_unwind(
185186
store: &mut dyn VMStore,
186187
f: impl FnOnce(&mut dyn VMStore) -> $t,

src/bin/wasmtime.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,7 @@ impl CompletionCommand {
167167
}
168168
}
169169

170+
#[allow(unreachable_code, reason = "empty enum with all features disabled")]
170171
fn main() -> Result<()> {
171172
return Wasmtime::parse().execute();
172173
}

0 commit comments

Comments
 (0)