aboutsummaryrefslogtreecommitdiff
path: root/src/codegen/wasm
diff options
context:
space:
mode:
authorBrandon Black <bblack@wikimedia.org>2025-09-10 14:26:13 -0500
committerAlex Rønne Petersen <alex@alexrp.com>2025-09-12 07:01:04 +0200
commita0ec4e270e680960290642468f6df3ce7e7d7664 (patch)
tree4dbf57bf61fedd444ad8dcdbbf1cdfe326d9128d /src/codegen/wasm
parent4972c987fd41d897148c23ea2e1308811bd797a7 (diff)
downloadzig-a0ec4e270e680960290642468f6df3ce7e7d7664.tar.gz
zig-a0ec4e270e680960290642468f6df3ce7e7d7664.zip
std.os.linux.socketpair(): switch to unsigned args
We need std.os.linux and std.c to agree on the types here, or else we'd have to pointlessly cast across the difference up in the std.posix wrapper. I ran into this as a type error the first time I tried to compile my code that calls posix.socketpair() on Linux without libc. All of our existing socket calls with these kinds of arguments in std (including the existing c.socketpair as well as os.linux.socket in this same file) use unsigned for all of these parameters, and so this brings linux.socketpair() into alignment with everything else.
Diffstat (limited to 'src/codegen/wasm')
0 files changed, 0 insertions, 0 deletions