Skip to content

build: update rust toolchain to 1.96.1#111

Merged
anonrig merged 3 commits into
mainfrom
chore/update-rust-toolchain-1.96.1
Jul 1, 2026
Merged

build: update rust toolchain to 1.96.1#111
anonrig merged 3 commits into
mainfrom
chore/update-rust-toolchain-1.96.1

Conversation

@anonrig

@anonrig anonrig commented Jul 1, 2026

Copy link
Copy Markdown
Member

Summary

Updates the pinned Rust toolchain from 1.90.0 → 1.96.1 (latest stable, released 2026-06-30).

Only rust-toolchain.toml needed changing:

  • No MSRV (rust-version) is declared in Cargo.toml.
  • CI workflows resolve the toolchain via rustup show, which reads rust-toolchain.toml, so no workflow edits are required.

Verification

All run locally on 1.96.1:

  • cargo build
  • cargo clippy -- -D warnings (matches CI lint job) ✅
  • cargo fmt --all -- --check
  • cargo test → 42 passed, 0 failed ✅

Note: cargo clippy --all-targets reports a few pre-existing warnings in bench/, but they are identical under 1.90.0 (not introduced by this bump) and CI clippy does not use --all-targets, so they are out of scope here.

@anonrig anonrig requested a review from Copilot July 1, 2026 15:02
@codspeed-hq

codspeed-hq Bot commented Jul 1, 2026

Copy link
Copy Markdown

Merging this PR will not alter performance

✅ 16 untouched benchmarks


Comparing chore/update-rust-toolchain-1.96.1 (82ca4c2) with main (1b30f67)

Open in CodSpeed

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the repository’s pinned Rust toolchain to the latest stable release by adjusting the rust-toolchain.toml toolchain channel, ensuring local and CI toolchain resolution stays consistent via rustup.

Changes:

  • Bump pinned Rust toolchain from 1.90.0 to 1.96.1 in rust-toolchain.toml.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

anonrig added 2 commits July 1, 2026 11:13
Rust 1.96 stopped passing `--allow-undefined` to the wasm linker, and its
bundled wasm32-wasip1 std/crt1 now reference newer wasi-libc symbols
(`__wasi_init_tp`, `pthread_join`, `pthread_detach`) that wasi-sdk-25 does
not provide, so linking failed.

- Bump wasi-sdk 25 -> 33 in ci.yml and release.yml (provides the symbols).
- build.rs: wasi-sdk 27+ moved libc++/libc++abi into `eh/` and `noeh/`
  subdirs; add the `noeh` path (we compile with -fno-exceptions) when it
  exists, keeping backward compatibility with the old flat layout.
- Bump wasmtime v13 -> v43 in ci.yml (matching release.yml) and update
  scripts/wasmtime-wrapper.sh to the modern wasmtime CLI
  (--max-wasm-stack -> -W max-wasm-stack, --mapdir GUEST::HOST -> --dir
  HOST::GUEST).

Validated locally on aarch64-macos with wasi-sdk-33 + wasmtime v43:
`cargo test --target wasm32-wasip1` passes for default, no-default-features
and all-features.
Latest wasmtime release. Validated locally on aarch64-macos: wasip1 tests
pass with wasi-sdk-33 + wasmtime v46.0.1 (wrapper CLI flags unchanged).
@anonrig anonrig merged commit 14b918f into main Jul 1, 2026
9 checks passed
@anonrig anonrig deleted the chore/update-rust-toolchain-1.96.1 branch July 1, 2026 15:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants