Skip to content

Upgrade the rust version to 1.88 #2583

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 8 commits into from
Jul 10, 2025
Merged

Conversation

orpuente-MS
Copy link
Contributor

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

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
@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