Skip to content

Upgrade the rust version to 1.88 - #2583

Merged
orpuente-MS merged 8 commits into
mainfrom
oscarpuente/upgrade-to-rust-1-88
Jul 10, 2025
Merged

Upgrade the rust version to 1.88#2583
orpuente-MS merged 8 commits into
mainfrom
oscarpuente/upgrade-to-rust-1-88

Conversation

@orpuente-MS

@orpuente-MS orpuente-MS commented Jul 8, 2025

Copy link
Copy Markdown
Contributor

This PR upgrades the rust toolchain version from 1.86 to 1.88 across multiple workflows and files. To make the upgrade possible, we had to fix a linker issue and a wasm-config flag that changed in 1.87.

Linker issue

Starting on rust 1.87, the Std doesn't link advapi32 on windows anymore. So, C libraries that depend on it, like mimalloc, now need to link it manually. Link to the Rust PR.

wasm config flag

Rust 1.87 upgraded to LLVM 20, which enables bulk-memory by default. Therefore, wasm-opt needs to be configured to expect this setting. This behavior is document here.

@orpuente-MS
orpuente-MS marked this pull request as draft July 8, 2025 23:06
Comment thread package.json Outdated
Comment thread source/wasm/Cargo.toml Outdated
@orpuente-MS
orpuente-MS marked this pull request as ready for review July 10, 2025 17:18
@orpuente-MS
orpuente-MS enabled auto-merge July 10, 2025 17:24
@orpuente-MS
orpuente-MS added this pull request to the merge queue Jul 10, 2025
Merged via the queue into main with commit 221780b Jul 10, 2025
19 checks passed
@orpuente-MS
orpuente-MS deleted the oscarpuente/upgrade-to-rust-1-88 branch July 10, 2025 18:03
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.

3 participants