We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4b7b24c commit 3d7888cCopy full SHA for 3d7888c
stdlib/cmake/modules/SwiftSource.cmake
@@ -457,6 +457,11 @@ function(_compile_swift_files
457
list(APPEND swift_flags "-Xfrontend" "-sil-verify-all")
458
endif()
459
460
+ # The standard library and overlays are built with -requirement-machine-protocol-signatures=verify.
461
+ if(SWIFTFILE_IS_STDLIB)
462
+ list(APPEND swift_flags "-Xfrontend" "-requirement-machine-protocol-signatures=verify")
463
+ endif()
464
+
465
# The standard library and overlays are built resiliently when SWIFT_STDLIB_STABLE_ABI=On.
466
if(SWIFTFILE_IS_STDLIB AND SWIFT_STDLIB_STABLE_ABI)
467
list(APPEND swift_flags "-enable-library-evolution")
0 commit comments