Skip to content

Conversation

grynspan
Copy link
Contributor

@grynspan grynspan commented Oct 2, 2025

This PR adjusts some of our #if os(...) checks to always specify Linux, FreeBSD, OpenBSD, and Android in a consistent order. This makes it easier to find such code in the repo. I've also found a couple of spots where OpenBSD was missing and have fixed them.

Checklist:

  • Code and documentation should follow the style of the Style Guide.
  • If public symbols are renamed or modified, DocC references should be updated.

…cks.

This PR adjusts some of our `#if os(...)` checks to always specify Linux,
FreeBSD, OpenBSD, and Android in a consistent order. This makes it easier to
find such code in the repo. I've also found a couple of spots where OpenBSD was
missing and have fixed them.
@grynspan grynspan added this to the Swift 6.x (main) milestone Oct 2, 2025
@grynspan grynspan self-assigned this Oct 2, 2025
@grynspan grynspan added the build 🧱 Affects the project's build configuration or process label Oct 2, 2025
@grynspan grynspan added openbsd 🐡 OpenBSD support tech-debt 💾 reduces technical debt labels Oct 2, 2025
@grynspan grynspan merged commit f276d25 into main Oct 4, 2025
24 checks passed
@grynspan grynspan deleted the jgrynspan/normalize-unix-order branch October 4, 2025 00:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build 🧱 Affects the project's build configuration or process openbsd 🐡 OpenBSD support tech-debt 💾 reduces technical debt
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants