Skip to content

Commit

Permalink
Update MSRV to 1.82.0 (#9956)
Browse files Browse the repository at this point in the history
* 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]`
  • Loading branch information
alexcrichton authored Jan 9, 2025
1 parent 5c7e5bc commit a8c767a
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/actions/install-rust/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,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-2024-11-28" >> "$GITHUB_OUTPUT"
echo "version=nightly-2025-01-09" >> "$GITHUB_OUTPUT"
else
echo "version=${{ inputs.toolchain }}" >> "$GITHUB_OUTPUT"
fi
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ authors = ["The Wasmtime Project Developers"]
edition = "2021"
# Wasmtime's current policy is that this number can be no larger than the
# current stable release of Rust minus 2.
rust-version = "1.81.0"
rust-version = "1.82.0"

[workspace.lints.rust]
# Turn on some lints which are otherwise allow-by-default in rustc.
Expand Down
1 change: 0 additions & 1 deletion crates/test-programs/src/bin/cli_export_cabi_realloc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
//! to allocate the adapter stack, hence this test.
#[export_name = "cabi_realloc"]
#[no_mangle]
unsafe extern "C" fn cabi_realloc(
old_ptr: *mut u8,
old_len: usize,
Expand Down
3 changes: 2 additions & 1 deletion crates/wasmtime/src/runtime/vm/libcalls.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1301,8 +1301,9 @@ pub mod relocs {
#[cfg(target_arch = "x86_64")]
use core::arch::x86_64::__m128i;
#[cfg(target_arch = "x86_64")]
#[target_feature(enable = "sse")]
#[allow(improper_ctypes_definitions)]
pub extern "C" fn x86_pshufb(a: __m128i, b: __m128i) -> __m128i {
pub unsafe extern "C" fn x86_pshufb(a: __m128i, b: __m128i) -> __m128i {
union U {
reg: __m128i,
mem: [u8; 16],
Expand Down

0 comments on commit a8c767a

Please sign in to comment.