-
Notifications
You must be signed in to change notification settings - Fork 1.2k
CoreFoundation: remove private headers from public directory #2395
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
Conversation
@swift-ci please test |
It nope'd. |
@swift-ci please test |
9023bf5
to
2da5472
Compare
Okay, there are some hacks here but, this might be better than what we had previously.
Otherwise, we should no longer be exposing any of the private headers from the import. |
@swift-ci please test |
2da5472
to
57ad1bd
Compare
@swift-ci please test Linux platform |
57ad1bd
to
256dd9a
Compare
@swift-ci please test Linux platform |
256dd9a
to
e629239
Compare
@swift-ci please test Linux platform |
e629239
to
0a25a94
Compare
@swift-ci please test Linux platform |
0a25a94
to
353c7f7
Compare
@swift-ci please test Linux platform |
353c7f7
to
2900ad9
Compare
@swift-ci please test Linux platform |
2900ad9
to
c72dbe0
Compare
@swift-ci please test Linux platform |
c72dbe0
to
a7141da
Compare
@swift-ci please test Linux platform |
a7141da
to
c4faab5
Compare
@swift-ci please test Linux platform |
c4faab5
to
bc3d278
Compare
@swift-ci please test |
bc3d278
to
7ab0122
Compare
@swift-ci please test |
7ab0122
to
9192104
Compare
@swift-ci please test Linux platform |
9192104
to
6976e29
Compare
@swift-ci please test Linux platform |
6976e29
to
eaa74f1
Compare
@swift-ci please test Linux platform |
1 similar comment
@swift-ci please test Linux platform |
@@ -2083,7 +2083,6 @@ public struct Data : ReferenceConvertible, Equatable, Hashable, RandomAccessColl | |||
} | |||
|
|||
// slightly faster paths for common sequences | |||
@inlinable // This is @inlinable as an important generic funnel point, despite being a non-trivial initializer. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why remove inlineability here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It was a cascading effect due to the use of _withStackOrHeapBuffer
getting inlined, making this inlinable
would expose the @_implementationOnly
interface. Of course it is possible something may have changed since.
This fails to build under Xcode
|
@spevans thats odd - that should have failed previously as well. I'm merely switching everything over to the |
Clean up the long standing issue with private headers being pushed into the public headers directory. Add a private modulemap so that we can still access the private headers.
eaa74f1
to
e1fb376
Compare
Please test with following PRs: @swift-ci please test Linux platform |
The Swift project moved the default branch to More detail about the branch update - https://forums.swift.org/t/updating-branch-names/40412 |
Clean up the long standing issue with private headers being pushed into
the public headers directory. Add a private modulemap so that we can
still access the private headers.