Skip to content

Conversation

alexcrichton
Copy link
Member

This commit switches cfg(target_feature = "p2") to instead using cfg(not(target_feature = "p1")) to be more future-proof of new Rust targets such as wasm32-wasip3. All future targets will support the same set of functionality in wasm32-wasip2, so this should be valid for future targets.

@rustbot label +stable-nominated

This commit switches `cfg(target_feature = "p2")` to instead using
`cfg(not(target_feature = "p1"))` to be more future-proof of new Rust
targets such as `wasm32-wasip3`. All future targets will support the
same set of functionality in `wasm32-wasip2`, so this should be valid
for future targets.
@rustbot rustbot added O-wasi S-waiting-on-review stable-nominated This PR should be considered for cherry-pick to libc's stable release branch labels Sep 30, 2025
@tgross35 tgross35 added this pull request to the merge queue Oct 1, 2025
Merged via the queue into rust-lang:main with commit d2fb5b0 Oct 1, 2025
52 checks passed
@alexcrichton alexcrichton deleted the invert-wasip2 branch October 1, 2025 18:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
O-wasi stable-nominated This PR should be considered for cherry-pick to libc's stable release branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants