Skip to content

Conversation

drodriguez
Copy link
Contributor

In Xcode 16 SDKs there seem to be two errno visible for some files, one in the Darwin module, and one in the _errno module (which seems new for this Xcode version).

Disambiguate the references by prepending Darwin, which should be the one that was being used before Xcode 16 SDKs.

@drodriguez drodriguez requested review from slavapestov and a team as code owners October 22, 2024 00:23
@drodriguez
Copy link
Contributor Author

@swift-ci please test

@drodriguez
Copy link
Contributor Author

@swift-ci please test

In Xcode 16 SDKs there seem to be two `errno` visible for some files,
one in the `Darwin` module, and one in the `_errno` module (which seems
new for this Xcode version).

Disambiguate the references by prepending `Darwin`, which should be the
one that was being used before Xcode 16 SDKs.
@drodriguez
Copy link
Contributor Author

@swift-ci please test

@drodriguez drodriguez enabled auto-merge (squash) October 22, 2024 16:41
@drodriguez
Copy link
Contributor Author

@swift-ci please test linux platform

@drodriguez drodriguez merged commit 6302233 into swiftlang:main Oct 22, 2024
5 checks passed
@drodriguez drodriguez deleted the disambiguate-errno branch October 25, 2024 17:21
drodriguez pushed a commit that referenced this pull request Sep 12, 2025
… in stdlib and Darwin (#81953)

Similar to #77155 , we disambiguate stdin, stdout, and stderr now.

Signed-off-by: Peter Rong <PeterRong@meta.com>
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