Skip to content

Commit ea2ee4c

Browse files
authored
Merge pull request #18388 from rjmccall/disable-overlay-resilience-4.2
Disable overlay resilience in the 4.2 release
2 parents 4efb97a + 8788561 commit ea2ee4c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

cmake/modules/SwiftSource.cmake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -232,8 +232,8 @@ function(_compile_swift_files
232232
list(APPEND swift_flags "-Xfrontend" "-sil-verify-all")
233233
endif()
234234

235-
# The standard library and overlays are always built with resilience.
236-
if(SWIFTFILE_IS_STDLIB)
235+
# The standard library are always built with resilience, but not the overlays yet.
236+
if(SWIFTFILE_IS_STDLIB_CORE)
237237
list(APPEND swift_flags "-Xfrontend" "-enable-resilience")
238238
endif()
239239

test/IRGen/availability.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// RUN: %target-swift-frontend -assume-parsing-unqualified-ownership-sil -primary-file %s -emit-ir | %FileCheck %s
22
// RUN: %target-swift-frontend -assume-parsing-unqualified-ownership-sil -primary-file %s -O -emit-ir | %FileCheck %s
33

4-
// REQUIRES: objc_interop
4+
// REQUIRES: objc_interop, overlay_resilience
55

66
import Foundation
77

0 commit comments

Comments
 (0)