Skip to content

Commit 6ab5161

Browse files
committed
Disable library evolution for the new overlay
1 parent 1ca8866 commit 6ab5161

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Sources/Overlays/_Testing_Foundation/CMakeLists.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,10 @@ target_link_libraries(_Testing_Foundation PUBLIC
2020
Testing
2121
Foundation)
2222

23+
# Note: This does not enable Library Evolution, despite emitting a module
24+
# interface, because Foundation does not have Library Evolution enabled for all
25+
# platforms.
2326
target_compile_options(_Testing_Foundation PRIVATE
24-
-enable-library-evolution
2527
-emit-module-interface -emit-module-interface-path $<TARGET_PROPERTY:_Testing_Foundation,Swift_MODULE_DIRECTORY>/_Testing_Foundation.swiftinterface)
2628

2729
_swift_testing_install_target(_Testing_Foundation)

0 commit comments

Comments
 (0)