Skip to content

Conversation

alexcrichton
Copy link
Member

This commit updates compiler detection logic to use the $WASI_SDK_PATH variable, if set, by default when looking up a compiler for WASI targets. This is commonly set in installations of wasi-sdk and it can be helpful to avoid the need to further configure how to find a WASI-specific compiler.

CI for WASI was expanded here from wasm32-wasip1-threads to other WASI targets as well to ensure it works on all of Rust's targets.

This commit updates compiler detection logic to use the
`$WASI_SDK_PATH` variable, if set, by default when looking up a compiler
for WASI targets. This is commonly set in installations of wasi-sdk and
it can be helpful to avoid the need to further configure how to find a
WASI-specific compiler.

CI for WASI was expanded here from `wasm32-wasip1-threads` to other WASI
targets as well to ensure it works on all of Rust's targets.
@alexcrichton
Copy link
Member Author

I think github actions is having a bad day today, and in my experience it takes ~24 hours for an error like this to go away (maybe a bad cache somewhere? iunno). I'll try to remember to push some time tomorrow to kick CI and will ping here when green.

@alexcrichton
Copy link
Member Author

Oh yay, tests look green now!

@alexcrichton
Copy link
Member Author

er, sorry, that was the wrong button

@alexcrichton alexcrichton reopened this Sep 23, 2025
Copy link
Collaborator

@NobodyXu NobodyXu left a comment

Choose a reason for hiding this comment

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

Thank you!

@NobodyXu NobodyXu merged commit 9a2e7ce into rust-lang:main Sep 24, 2025
176 of 237 checks passed
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