net: API-compat fills for grpc and wazero (SyscallConn, Dialer.Control, IPConn.Read) - #78
Open
0pcom wants to merge 1 commit into
Open
net: API-compat fills for grpc and wazero (SyscallConn, Dialer.Control, IPConn.Read)#780pcom wants to merge 1 commit into
0pcom wants to merge 1 commit into
Conversation
…IPConn.Read) - TCPListener.SyscallConn: mirror the TCPConn stub; wazero's socket layer requires syscall.Conn. - Dialer.Control + ControlContext: API compat fields grpc sets (not invoked; the netdev dial exposes no raw syscall.RawConn). - IPConn.Read: delegate to ReadFrom so IPConn satisfies io.Reader (grpc type-switches it).
This was referenced Sep 5, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Three small source-compatibility fills, surfaced compiling larger Go programs (grpc, wazero) under TinyGo:
TCPListener.SyscallConn: mirror the existingTCPConnstub; wazero's socket layer requiressyscall.Conn.Dialer.Control+ControlContext: API-compat fields grpc sets (not invoked; the netdev dial exposes no rawsyscall.RawConn).IPConn.Read: delegate toReadFromsoIPConnsatisfiesio.Reader(grpc type-switches on it).🤖 Generated with Claude Code
https://claude.ai/code/session_01C3X3gvq8ZggMRvzVzWm66i