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

Enable new WIT encoding by default #1274

Merged
merged 1 commit into from
Nov 1, 2023

Conversation

alexcrichton
Copy link
Member

This commit enables the new encoding for WIT packages in WebAssembly components described in WebAssembly/component-model#248 and originally implemented in #1252. Support for the new encoding has been in a wasm-tools for a bit and it's also released with Wasmtime 14. This switch means that infrastructure will start being exposed to it by default now. Support for the old encoding remains to assist with interop as well. In a release or two support for creating the old encoding will be removed.

This commit enables the new encoding for WIT packages in WebAssembly
components described in WebAssembly/component-model#248 and originally
implemented in bytecodealliance#1252. Support for the new encoding has been in a
wasm-tools for a bit and it's also released with Wasmtime 14. This
switch means that infrastructure will start being exposed to it by
default now. Support for the old encoding remains to assist with interop
as well. In a release or two support for creating the old encoding will
be removed.
@pchickey pchickey merged commit e808006 into bytecodealliance:main Nov 1, 2023
15 checks passed
@alexcrichton alexcrichton deleted the new-encoding- branch November 1, 2023 17:44
alexcrichton added a commit to alexcrichton/wasm-tools that referenced this pull request Nov 6, 2023
@alexcrichton alexcrichton mentioned this pull request Nov 6, 2023
alexcrichton added a commit that referenced this pull request Nov 6, 2023
Going to pull #1274, #1270, and #1269 into Wasmtime.
alexcrichton added a commit to alexcrichton/wasm-tools that referenced this pull request Sep 11, 2024
This commit removes support for the "v1" encoding of WIT packages into
WebAssembly. This was originally migrated to v2 in bytecodealliance#1252 and v2 was
enabled by default in bytecodealliance#1274. This finishes the transition by removing
support for creating the old encoding.
github-merge-queue bot pushed a commit that referenced this pull request Sep 12, 2024
* Remove v1 encoding support for WIT documents/worlds

This commit removes support for the "v1" encoding of WIT packages into
WebAssembly. This was originally migrated to v2 in #1252 and v2 was
enabled by default in #1274. This finishes the transition by removing
support for creating the old encoding.

* Fix fuzzer build

* Update outdated comments
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