Skip to content

Commit a8c767a

Browse files
authored
Update MSRV to 1.82.0 (bytecodealliance#9956)
* Update MSRV to 1.82.0 Coupled with today's release of Rust 1.84.0 prtest:full * Enable necessary target feature for intrinsic * Remove unnecessary `#[no_mangle]`
1 parent 5c7e5bc commit a8c767a

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ runs:
2828
elif [ "${{ inputs.toolchain }}" = "msrv" ]; then
2929
echo "version=1.$msrv.0" >> "$GITHUB_OUTPUT"
3030
elif [ "${{ inputs.toolchain }}" = "wasmtime-ci-pinned-nightly" ]; then
31-
echo "version=nightly-2024-11-28" >> "$GITHUB_OUTPUT"
31+
echo "version=nightly-2025-01-09" >> "$GITHUB_OUTPUT"
3232
else
3333
echo "version=${{ inputs.toolchain }}" >> "$GITHUB_OUTPUT"
3434
fi

Cargo.toml

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

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

crates/test-programs/src/bin/cli_export_cabi_realloc.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
//! to allocate the adapter stack, hence this test.
33
44
#[export_name = "cabi_realloc"]
5-
#[no_mangle]
65
unsafe extern "C" fn cabi_realloc(
76
old_ptr: *mut u8,
87
old_len: usize,

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1301,8 +1301,9 @@ pub mod relocs {
13011301
#[cfg(target_arch = "x86_64")]
13021302
use core::arch::x86_64::__m128i;
13031303
#[cfg(target_arch = "x86_64")]
1304+
#[target_feature(enable = "sse")]
13041305
#[allow(improper_ctypes_definitions)]
1305-
pub extern "C" fn x86_pshufb(a: __m128i, b: __m128i) -> __m128i {
1306+
pub unsafe extern "C" fn x86_pshufb(a: __m128i, b: __m128i) -> __m128i {
13061307
union U {
13071308
reg: __m128i,
13081309
mem: [u8; 16],

0 commit comments

Comments
 (0)