Skip to content

Conversation

@alexcrichton
Copy link
Member

This commit renames the preview1 module and features to p1 and does the same for preview0. This additionally cleans up the test suite a bit to share more code amongst all the implementaitons and to also move the p1 tests out of the p2 folder.

This additionally adds a p2 feature to the wasmtime-wasi crate but it does not currently gate the p2 module because that'll require some more refactoring an annotations to get that working.

@alexcrichton alexcrichton requested review from a team as code owners August 4, 2025 21:24
@alexcrichton alexcrichton requested review from dicej and removed request for a team August 4, 2025 21:24
@github-actions github-actions bot added wasi Issues pertaining to WASI wasmtime:c-api Issues pertaining to the C API. labels Aug 4, 2025
@alexcrichton alexcrichton reopened this Aug 5, 2025
@alexcrichton alexcrichton enabled auto-merge August 5, 2025 16:18
@alexcrichton alexcrichton added this pull request to the merge queue Aug 5, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to a conflict with the base branch Aug 5, 2025
@alexcrichton alexcrichton force-pushed the rename-feature-gates branch from dc1bf9c to 024f041 Compare August 5, 2025 16:56
@alexcrichton alexcrichton enabled auto-merge August 5, 2025 16:56
@alexcrichton alexcrichton added this pull request to the merge queue Aug 5, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to a conflict with the base branch Aug 5, 2025
This commit renames the `preview1` module and features to `p1` and does
the same for `preview0`. This additionally cleans up the test suite a
bit to share more code amongst all the implementaitons and to also move
the p1 tests out of the p2 folder.

This additionally adds a `p2` feature to the `wasmtime-wasi` crate but
it does not currently gate the `p2` module because that'll require some
more refactoring an annotations to get that working.
@alexcrichton alexcrichton force-pushed the rename-feature-gates branch from 024f041 to 86d2fba Compare August 5, 2025 17:47
@alexcrichton alexcrichton added this pull request to the merge queue Aug 5, 2025
Merged via the queue into bytecodealliance:main with commit 4ac219f Aug 5, 2025
46 checks passed
@alexcrichton alexcrichton deleted the rename-feature-gates branch August 5, 2025 19:12
bongjunj pushed a commit to prosyslab/wasmtime that referenced this pull request Oct 20, 2025
…e#11380)

* Rename "preview{0,1}" in `wasmtime-wasi` to "p{0,1}"

This commit renames the `preview1` module and features to `p1` and does
the same for `preview0`. This additionally cleans up the test suite a
bit to share more code amongst all the implementaitons and to also move
the p1 tests out of the p2 folder.

This additionally adds a `p2` feature to the `wasmtime-wasi` crate but
it does not currently gate the `p2` module because that'll require some
more refactoring an annotations to get that working.

* Fix build of the CLI

* Fix build of the C API

* Fix bench-api build

* Fix build of examples

* More renamings
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

wasi Issues pertaining to WASI wasmtime:c-api Issues pertaining to the C API.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants