Commit bdad426
wasip2: Invert conditional to include p2 APIs
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.
(backport #4733)
(cherry picked from commit d2fb5b0)1 parent 0af069d commit bdad426
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
846 | 846 | | |
847 | 847 | | |
848 | 848 | | |
849 | | - | |
| 849 | + | |
850 | 850 | | |
851 | 851 | | |
852 | 852 | | |
| |||
0 commit comments