Skip to content

[Sema] Revert enabling require-explicit-availability for public modules by default #61161

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

Merged
merged 3 commits into from
Sep 16, 2022

Conversation

xymus
Copy link
Contributor

@xymus xymus commented Sep 16, 2022

This is a partial revert of #61105. Passing the flag -require-explicit-availability=ignore to the stdlib broke the bot building the stdlib with the last toolchain. We should wait until the flag is available in a toolchain on swift.org before we adopt it in the stdlib. Until we can use the flag, to avoid misleading warnings in the stdlib I'm also reverting the automatic enabling of require-explicit-availability for public modules.

rdar://99993044

@xymus xymus requested a review from tshortli September 16, 2022 16:56
@xymus
Copy link
Contributor Author

xymus commented Sep 16, 2022

@swift-ci Please smoke test

@xymus
Copy link
Contributor Author

xymus commented Sep 16, 2022

The macOS failure is unrelated:lldb-api :: lang/swift/unknown_reference/TestSwiftUnknownReference.py tracked by rdar://100034078

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