Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

_CShims: repair the Windows build #519

Merged
merged 1 commit into from
Mar 29, 2024
Merged

Conversation

compnerd
Copy link
Member

This was obscuring the current foundation blocker for Windows: ICU. The last update to ICU broke the Windows build and there does not seem to be a clear repair for that. See swiftlang/swift-foundation-icu#15 for more details on the ICU failure. In the meantime, repair the environ handling for Windows. unistd.h is the Unix standard header which must be available when __unix__ is defined. Add an explicit check for that to avoid including the header on other platforms.

This was obscuring the current foundation blocker for Windows: ICU. The
last update to ICU broke the Windows build and there does not seem to be
a clear repair for that. See swiftlang/swift-foundation-icu#15 for more
details on the ICU failure. In the meantime, repair the `environ`
handling for Windows. `unistd.h` is the Unix standard header which must
be available when `__unix__` is defined. Add an explicit check for that
to avoid including the header on other platforms.
@compnerd compnerd requested a review from iCharlesHu March 29, 2024 18:04
@compnerd
Copy link
Member Author

@swift-ci please test

@parkera parkera merged commit b9568d2 into swiftlang:main Mar 29, 2024
2 checks passed
@compnerd compnerd deleted the unistd branch March 29, 2024 20:17
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