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
crates/test-programs/src/bin/p3_sockets_udp_states.rsWhy
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 isErr(ErrorCode::InvalidArgument).
chinhkrb113 requested dicej for a review on PR #13518.
chinhkrb113 requested wasmtime-core-reviewers for a review on PR #13518.
Last updated: Jun 01 2026 at 09:49 UTC