Skip to content

Commit 773b755

Browse files
authored
Merge pull request #42288 from nkcsgexi/stdlib-library-level
2 parents 502522b + f7f7baa commit 773b755

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

stdlib/cmake/modules/SwiftSource.cmake

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -476,6 +476,7 @@ function(_compile_swift_files
476476
# The standard library and overlays are built resiliently when SWIFT_STDLIB_STABLE_ABI=On.
477477
if(SWIFTFILE_IS_STDLIB AND SWIFT_STDLIB_STABLE_ABI)
478478
list(APPEND swift_flags "-enable-library-evolution")
479+
list(APPEND swift_flags "-Xfrontend" "-library-level" "-Xfrontend" "api")
479480
endif()
480481

481482
if(SWIFT_STDLIB_SINGLE_THREADED_RUNTIME)

0 commit comments

Comments
 (0)