Skip to content

Commit 390cb1c

Browse files
authored
Enable Library Evolution for package-based builds of the _TestDiscovery target (#1082)
This enables Library Evolution (LE) for the `_TestDiscovery` target in Swift package-based builds. The CMake-based build is already configured to enable LE for this target, so this is just matching behavior. (Note that we already enable LE for several other targets which vend public API as of #951.) ### 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 9342542 commit 390cb1c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Package.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ let package = Package(
171171
dependencies: ["_TestingInternals",],
172172
exclude: ["CMakeLists.txt"],
173173
cxxSettings: .packageSettings,
174-
swiftSettings: .packageSettings
174+
swiftSettings: .packageSettings + .enableLibraryEvolution()
175175
),
176176

177177
// Cross-import overlays (not supported by Swift Package Manager)

0 commit comments

Comments
 (0)