Skip to content

Commit 0e9bcba

Browse files
authored
Add @_spi annotations to reexport decls in cross-import overlays. (#870)
This PR attempts to make sure that SPI is reexported from our cross-import overlays. This change is speculative and I'm not actually sure if it'll do what I want. ### Checklist: - [x] Code and documentation should follow the style of the [Style Guide](https://github.com/apple/swift-testing/blob/main/Documentation/StyleGuide.md). - [x] If public symbols are renamed or modified, DocC references should be updated.
1 parent de25f64 commit 0e9bcba

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Sources/Overlays/_Testing_CoreGraphics/ReexportTesting.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@
88
// See https://swift.org/CONTRIBUTORS.txt for Swift project authors
99
//
1010

11-
@_exported public import Testing
11+
@_exported @_spi(Experimental) @_spi(ForToolsIntegrationOnly) public import Testing

Sources/Overlays/_Testing_Foundation/ReexportTesting.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@
88
// See https://swift.org/CONTRIBUTORS.txt for Swift project authors
99
//
1010

11-
@_exported public import Testing
11+
@_exported @_spi(Experimental) @_spi(ForToolsIntegrationOnly) public import Testing

0 commit comments

Comments
 (0)