Skip to content

Commit 20fb481

Browse files
committed
Revert "[cmake] Ignore required explicit availability in Swift stdlib"
This reverts commit 4bec9d5.
1 parent 758d4ed commit 20fb481

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

stdlib/cmake/modules/SwiftSource.cmake

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -483,8 +483,7 @@ function(_compile_swift_files
483483
# The standard library and overlays are built resiliently when SWIFT_STDLIB_STABLE_ABI=On.
484484
if(SWIFTFILE_IS_STDLIB AND SWIFT_STDLIB_STABLE_ABI)
485485
list(APPEND swift_flags "-enable-library-evolution")
486-
list(APPEND swift_flags "-library-level" "api")
487-
list(APPEND swift_flags "-Xfrontend" "-require-explicit-availability=ignore")
486+
list(APPEND swift_flags "-Xfrontend" "-library-level" "-Xfrontend" "api")
488487
endif()
489488

490489
if("${SWIFT_SDK_${SWIFTFILE_SDK}_THREADING_PACKAGE}" STREQUAL "none")

0 commit comments

Comments
 (0)