Skip to content

Conversation

@3405691582
Copy link
Contributor

Add the usual os conditionals and exclude errno constants that aren't present on this platform.

Maybe availability annotations are a better way to deal with this, but that is likely something that requires more careful consideration.

Add the usual `os` conditionals and exclude errno constants that aren't
present on this platform.

Maybe availability annotations are a better way to deal with this, but
that is likely something that requires more careful consideration.
@milseman milseman requested a review from rauhul October 31, 2022 14:38
@milseman
Copy link
Contributor

LGTM.

@rauhul I know you've been interested in non-Darwin BSD variants. Could you glance over this PR and let me know what you think?

@swift-ci please test

@rauhul
Copy link
Contributor

rauhul commented Oct 31, 2022

@milseman This looks all correct to me, I did a quick (non-exhaustive check against OpenBSD's errno.h.

@milseman milseman merged commit 18cceda into apple:main Oct 31, 2022
etcwilde pushed a commit to etcwilde/swift-system that referenced this pull request May 13, 2025
[Deque] `append(contentsOf:):` Use exponential capacity reservation
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