Skip to content

Conversation

@taiki-e
Copy link
Contributor

@taiki-e taiki-e commented Oct 8, 2023

libc 0.2.149 doesn't provide SO_NOSIGPIPE in NetBSD, so I opened rust-lang/libc#3377 and added our own constant in src/backend/libc/c.rs for now.

(BTW, AFAIK, OpenBSD doesn't have SO_NOSIGPIPE: https://github.com/search?q=repo%3Aopenbsd%2Fsrc%20%2FSO_NOSIGPIPE%2F&type=code)

@taiki-e taiki-e changed the title Provide {get,set}_socket_nosigpipe on NetBSD and DragonFlyBSD Provide {get,set}_socket_nosigpipe on NetBSD and DragonFly BSD Oct 8, 2023
@sunfishcode
Copy link
Member

Looks good!

@sunfishcode sunfishcode merged commit 0c22704 into bytecodealliance:main Oct 8, 2023
@taiki-e taiki-e deleted the nosigpipe branch October 8, 2023 16:42
@sunfishcode
Copy link
Member

This is now released in rustix 0.38.18.

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