Skip to content

Update wasm-tools dependencies - #7488

Merged
pchickey merged 1 commit into
bytecodealliance:mainfrom
alexcrichton:update-wasm-tools
Nov 6, 2023
Merged

pchickey merged 1 commit into
bytecodealliance:mainfrom
alexcrichton:update-wasm-tools

Conversation

@alexcrichton

Copy link
Copy Markdown
Member

Pull in bytecodealliance/wasm-tools#1277 to switch the defaults for some WIT behaviors:

  • Semicolons are now required by default in WIT files
  • Wasm-encoded WIT packages now use the "new" format by default.

WIT files without semicolons can still be parsed with WIT_REQUIRE_SEMICOLONS=0. The "old" format for wasm-encoded WIT packages can be emitted via WIT_COMPONENT_ENCODING_V2=0. Note that for wasm-encoded WIT packages both the old and the new format can be decoded irregardless of env vars.

Pull in bytecodealliance/wasm-tools#1277 to switch the defaults for some
WIT behaviors:

* Semicolons are now required by default in WIT files
* Wasm-encoded WIT packages now use the "new" format by default.

WIT files without semicolons can still be parsed with
`WIT_REQUIRE_SEMICOLONS=0`. The "old" format for wasm-encoded WIT
packages can be emitted via `WIT_COMPONENT_ENCODING_V2=0`. Note that for
wasm-encoded WIT packages both the old and the new format can be decoded
irregardless of env vars.
@alexcrichton
alexcrichton requested a review from a team as a code owner November 6, 2023 18:56
@alexcrichton
alexcrichton requested review from fitzgen and removed request for a team November 6, 2023 18:56

@pchickey pchickey left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM. Do you intend to backport these to 15?

@pchickey
pchickey added this pull request to the merge queue Nov 6, 2023
@alexcrichton

Copy link
Copy Markdown
Member Author

Indeed!

Merged via the queue into bytecodealliance:main with commit e8f1e32 Nov 6, 2023
@alexcrichton
alexcrichton deleted the update-wasm-tools branch November 7, 2023 03:10
alexcrichton added a commit to alexcrichton/wasmtime that referenced this pull request Nov 7, 2023
Pull in bytecodealliance/wasm-tools#1277 to switch the defaults for some
WIT behaviors:

* Semicolons are now required by default in WIT files
* Wasm-encoded WIT packages now use the "new" format by default.

WIT files without semicolons can still be parsed with
`WIT_REQUIRE_SEMICOLONS=0`. The "old" format for wasm-encoded WIT
packages can be emitted via `WIT_COMPONENT_ENCODING_V2=0`. Note that for
wasm-encoded WIT packages both the old and the new format can be decoded
irregardless of env vars.
alexcrichton added a commit that referenced this pull request Nov 7, 2023
* Update wasm-tools dependencies (#7488)

Pull in bytecodealliance/wasm-tools#1277 to switch the defaults for some
WIT behaviors:

* Semicolons are now required by default in WIT files
* Wasm-encoded WIT packages now use the "new" format by default.

WIT files without semicolons can still be parsed with
`WIT_REQUIRE_SEMICOLONS=0`. The "old" format for wasm-encoded WIT
packages can be emitted via `WIT_COMPONENT_ENCODING_V2=0`. Note that for
wasm-encoded WIT packages both the old and the new format can be decoded
irregardless of env vars.

* wasi-sockets: Sync up UDP implementation & tests with TCP (#7423)

* Refactor & move utilities. So that UDP can use them too.

* Minor tweak in error code while connecting

* Refactor: move portability workarounds out of the TCP implementation.

* Sync up UDP implementation and tests
based on the existing TCP implementation & tests.

* Make test less flaky in CI.

* wasi-sockets: Simplify ip name lookup interface (#7483)

* Refactor ip_name_lookup test

* Update ip-name-lookup::resolve-addresses

- Remove the non-essential parameters
- Lift the restriction against parsing IP addresses. Implementations would still have to parse IP addresses to decide whether or not to return an error

* Deduplicate to_canonical

* Add release notes for 15.0.0 (#7487)

---------

Co-authored-by: Dave Bakker <[email protected]>
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