Skip to content

[15.0.0] Backports of recent PRs - #7493

Merged
alexcrichton merged 4 commits into
bytecodealliance:release-15.0.0from
alexcrichton:backports
Nov 7, 2023
Merged

alexcrichton merged 4 commits into
bytecodealliance:release-15.0.0from
alexcrichton:backports

Conversation

@alexcrichton

Copy link
Copy Markdown
Member

This is a backport of a few PRs recently:

alexcrichton and others added 4 commits November 7, 2023 06:16
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.
…liance#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.
* 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
@alexcrichton
alexcrichton requested review from a team as code owners November 7, 2023 14:22
@alexcrichton
alexcrichton requested review from pchickey and removed request for a team November 7, 2023 14:22
@github-actions github-actions Bot added wasi Issues pertaining to WASI wasmtime:docs Issues related to Wasmtime's documentation labels Nov 7, 2023
@alexcrichton
alexcrichton merged commit 85ff52c into bytecodealliance:release-15.0.0 Nov 7, 2023
@alexcrichton
alexcrichton deleted the backports branch November 7, 2023 18:28
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:docs Issues related to Wasmtime's documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants