Skip to content

wasip3: Get {g,s}etsockopt working - #725

Merged
alexcrichton merged 3 commits into
WebAssembly:mainfrom
alexcrichton:tcp-sockopt
Feb 20, 2026
Merged

wasip3: Get {g,s}etsockopt working#725
alexcrichton merged 3 commits into
WebAssembly:mainfrom
alexcrichton:tcp-sockopt

Conversation

@alexcrichton

Copy link
Copy Markdown
Collaborator

Move the implementation for WASIp2 to a shared location and then use #defines/typedefs to get the shared structure compiling since the functionality supported by WASIp2/WASIp3 is effectively the same.

@cpetig

cpetig commented Feb 1, 2026

Copy link
Copy Markdown
Contributor

I guess I even added a bit more unrelated overlap in #720 , good to see you factoring out shared code!

Comment thread libc-bottom-half/sources/tcp_sockopt.c
Comment thread libc-bottom-half/sources/tcp_sockopt.c Outdated
Move the implementation for WASIp2 to a shared location and then use
`#define`s/`typedef`s to get the shared structure compiling since the
functionality supported by WASIp2/WASIp3 is effectively the same.
@alexcrichton
alexcrichton merged commit 580efbd into WebAssembly:main Feb 20, 2026
29 checks passed
@alexcrichton
alexcrichton deleted the tcp-sockopt branch February 20, 2026 20:36
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.

3 participants