Stream: git-wasmtime

Topic: wasmtime / PR #13518 fix: resolve #12475 — p3: Inconsiste...


view this post on Zulip Wasmtime GitHub notifications bot (May 31 2026 at 09:57):

chinhkrb113 opened PR #13518 from chinhkrb113:improve/quality/add-regression-coverage-for-wrong-addres to bytecodealliance:main:

Summary

There should be a test program exercising the scenario from the issue so the cross-platform behavior is locked in. The test creates a UDP socket of one family, then attempts to send to a localhost address of the opposite family and asserts the result is Err(ErrorCode::InvalidArgument)

Fixes #12475

Changes

Why

crates/test-programs/src/bin/p3_sockets_udp_states.rs: There should be a test program exercising the scenario from the issue so the cross-platform behavior is locked in. The test creates a UDP socket of one family, then attempts to send to a localhost address of the opposite family and asserts the result is Err(ErrorCode::InvalidArgument).

view this post on Zulip Wasmtime GitHub notifications bot (May 31 2026 at 09:57):

chinhkrb113 requested dicej for a review on PR #13518.

view this post on Zulip Wasmtime GitHub notifications bot (May 31 2026 at 09:57):

chinhkrb113 requested wasmtime-core-reviewers for a review on PR #13518.

view this post on Zulip Wasmtime GitHub notifications bot (Jun 02 2026 at 14:35):

dicej commented on PR #13518:

Thanks for the test. Looks like we'll need to update the implementation to get CI passing. Are you up for doing that, or would you prefer someone else does it?

view this post on Zulip Wasmtime GitHub notifications bot (Jun 04 2026 at 16:47):

fitzgen added the label wasi on PR #13518.

view this post on Zulip Wasmtime GitHub notifications bot (Jun 13 2026 at 08:41):

badeend commented on PR #13518:

@dicej This can be closed. The test already exists:

https://github.com/bytecodealliance/wasmtime/blob/ff944c96c9bee03da951e75e21aba26f3ee99ebd/crates/test-programs/src/bin/p3_sockets_udp_send.rs#L39

view this post on Zulip Wasmtime GitHub notifications bot (Jun 13 2026 at 17:48):

:cross_mark: alexcrichton closed without merge PR #13518.


Last updated: Jul 29 2026 at 05:03 UTC