Skip to content

Move all uses of Core Foundation to be @_implementationOnly except getCFRunLoop(). #2876

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 4 commits into from
Sep 11, 2020
Merged

Conversation

millenomi
Copy link
Contributor

@millenomi millenomi commented Sep 9, 2020

The CF headers and module are still required (because of getCFRunLoop()), but this makes them much easier to remove in the future.

@millenomi
Copy link
Contributor Author

@swift-ci please test

@millenomi
Copy link
Contributor Author

cc @compnerd

@millenomi
Copy link
Contributor Author

Test failure looks unrelated.

@millenomi
Copy link
Contributor Author

@swift-ci please test linux

@millenomi
Copy link
Contributor Author

@swift-ci please test

@millenomi
Copy link
Contributor Author

It was not unrelated.

@millenomi
Copy link
Contributor Author

@swift-ci please test

- HANDLE was being picked up transitively by CF's reexporting; import it explicitly
- There was one CF type in a stored property in a #if os(Windows) block.
@millenomi
Copy link
Contributor Author

@swift-ci please test

1 similar comment
@millenomi
Copy link
Contributor Author

@swift-ci please test

…e of these need to change vis-a-vis Darwin equivalents.)
@millenomi
Copy link
Contributor Author

@swift-ci please test

1 similar comment
@millenomi
Copy link
Contributor Author

@swift-ci please test

@millenomi
Copy link
Contributor Author

Tests appear to be broken regardless of this patch. Pulling the PR brake.

@millenomi millenomi merged commit 02d9151 into swiftlang:master Sep 11, 2020
// SwiftFoundation
//
// Created by Aura Lily Vulcano on 8/27/20.
// Copyright © 2020 Swift. All rights reserved.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: Swift project header :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants