Skip to content
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

update wasi rust target to wasip1 #12

Merged
merged 2 commits into from
Nov 8, 2024
Merged

Conversation

tvsfx
Copy link
Contributor

@tvsfx tvsfx commented Nov 7, 2024

In rust 1.84, the wasm32-wasi target has been removed (see here).
From 2024/11/7 on, nightly rust uses 1.84, which broke the latest CI build on master; this PR fixes the build by:

  1. Renaming to the new tier-2 was32-wasip1 target
  2. Getting rid of cargo wasi, which does not support the wasm32-wasip1 target. I expect that cases that would fail runs of the raw cargo test would've failed cargo wasi test before as well. For example, tests could fail if file-system access is required (see e.g. cargo wasi test should preopen the current dir by default bytecodealliance/cargo-wasi#128), or if other parts of the WASI API are exercised as part of Rust syscalls.

tvsfx added 2 commits November 7, 2024 17:44
starting in rust 1.84, the wasi target is removed
this broke the latest CI build on master
@tvsfx tvsfx requested review from jethrogb and MihirLuthra November 8, 2024 13:52
@tvsfx tvsfx merged commit fef66ac into master Nov 8, 2024
1 check passed
@tvsfx tvsfx deleted the thomasvs/rename-wasi-target branch November 8, 2024 14:26
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