Skip to content

[embedded] Make stdlib APIs automatically available on older Darwin versions in Embedded Swift #78263

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 2 commits into from
Dec 20, 2024

Conversation

kubamracek
Copy link
Contributor

@kubamracek kubamracek commented Dec 18, 2024

The motivation here is about using types and API that have been recently added to the stdlib with an availability only in a recent macOS release (for regular Swift) because the stdlib ships as part of the OS. However, we don't have that constraint with Embedded Swift where the stdlib/runtime is statically included into the produced binaries, and therefore we should be able to use such stdlib types regardless of the "official" availability for regular Swift.

@kubamracek kubamracek force-pushed the embedded-stdlib-all-available branch from 6ff0c8e to 2446923 Compare December 18, 2024 03:41
@kubamracek
Copy link
Contributor Author

@swift-ci please test

@kubamracek
Copy link
Contributor Author

@swift-ci please test

@kubamracek kubamracek force-pushed the embedded-stdlib-all-available branch from 008ff04 to 0545277 Compare December 18, 2024 21:46
@kubamracek
Copy link
Contributor Author

@swift-ci please test

@kubamracek
Copy link
Contributor Author

@swift-ci please test Linux platform

@kubamracek kubamracek merged commit e0ccd1b into swiftlang:main Dec 20, 2024
5 checks passed
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