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.


Last updated: Jun 01 2026 at 09:49 UTC