Skip to content

Implement UDP send/receive timeouts - #852

Merged
alexcrichton merged 1 commit into
WebAssembly:mainfrom
alexcrichton:udp-timeouts
Jul 23, 2026
Merged

Implement UDP send/receive timeouts#852
alexcrichton merged 1 commit into
WebAssembly:mainfrom
alexcrichton:udp-timeouts

Conversation

@alexcrichton

Copy link
Copy Markdown
Collaborator

Needed for the Rust standard library's test suite and an otherwise open gap in the implementation in wasi-libc.

@alexcrichton
alexcrichton requested a review from dicej July 23, 2026 04:13
Needed for the Rust standard library's test suite and an otherwise open
gap in the implementation in wasi-libc.
Comment thread test/CMakeLists.txt
add_wasilibc_test(pipe_atomic_write.c)
add_wasilibc_test(pipe_zero_len.c)
add_wasilibc_test(pipe_espipe.c)
if (NOT TEST_WITH_V8)

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

What's the reason for this guard?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

The pipe_espipe.c test needs networking with the latest wasmtime (socket creation needs to be enabled) and when doing so it passes arguments to the test (e.g. -Sinherit-network) which the v8 wrapper in this repo doesn't support. I didn't want to deal with that so I just ignored the test.

@alexcrichton
alexcrichton merged commit 375b2da into WebAssembly:main Jul 23, 2026
36 checks passed
@alexcrichton
alexcrichton deleted the udp-timeouts branch July 23, 2026 16:01
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