Skip to content

Commit ed23f4f

Browse files
authored
Merge pull request #42113 from slavapestov/gsb-off
Turn off the GenericSignatureBuilder
2 parents 6b13190 + 703d89c commit ed23f4f

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

include/swift/Basic/LangOptions.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -528,7 +528,7 @@ namespace swift {
528528
/// Enable the new experimental protocol requirement signature minimization
529529
/// algorithm.
530530
RequirementMachineMode RequirementMachineProtocolSignatures =
531-
RequirementMachineMode::Verify;
531+
RequirementMachineMode::Enabled;
532532

533533
/// Enable the new experimental generic signature minimization algorithm
534534
/// for abstract generic signatures.
@@ -538,7 +538,7 @@ namespace swift {
538538
/// Enable the new experimental generic signature minimization algorithm
539539
/// for user-written generic signatures.
540540
RequirementMachineMode RequirementMachineInferredSignatures =
541-
RequirementMachineMode::Verify;
541+
RequirementMachineMode::Enabled;
542542

543543
/// Enable preprocessing pass to eliminate conformance requirements
544544
/// on generic parameters which are made concrete. Usually you want this

stdlib/cmake/modules/SwiftSource.cmake

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -473,11 +473,6 @@ function(_compile_swift_files
473473
endif()
474474
endif()
475475

476-
# The standard library and overlays are built with the Requirement Machine enabled.
477-
if(SWIFTFILE_IS_STDLIB)
478-
list(APPEND swift_flags "-Xfrontend" "-requirement-machine-inferred-signatures=verify")
479-
endif()
480-
481476
# The standard library and overlays are built resiliently when SWIFT_STDLIB_STABLE_ABI=On.
482477
if(SWIFTFILE_IS_STDLIB AND SWIFT_STDLIB_STABLE_ABI)
483478
list(APPEND swift_flags "-enable-library-evolution")

0 commit comments

Comments
 (0)