File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 1
1
// This is an overlay Swift module.
2
2
@_exported import ObjectiveC
3
3
4
+ @frozen
4
5
public struct ObjCBool : CustomStringConvertible {
5
6
#if (os(macOS) && arch(x86_64)) || (os(iOS) && (arch(i386) || arch(arm) || targetEnvironment(macCatalyst)))
6
7
@@ -34,6 +35,7 @@ public struct ObjCBool : CustomStringConvertible {
34
35
}
35
36
}
36
37
38
+ @frozen
37
39
public struct Selector {
38
40
private var ptr : OpaquePointer
39
41
}
Original file line number Diff line number Diff line change 2
2
config.substitutions = list(config.substitutions)
3
3
4
4
config.substitutions.insert(0, (' %build-irgen-test-overlays' ,
5
- ' %target-swift-frontend -enable-objc-interop -disable-objc-attr-requires-foundation-module -emit-module -o %t -sdk %S/Inputs %S/Inputs/ObjectiveC.swift && '
6
- ' %target-swift-frontend -enable-objc-interop -emit-module -o %t -sdk %S/Inputs %S/Inputs/Foundation.swift -I %t' ))
5
+ ' %target-swift-frontend -enable-objc-interop -disable-objc-attr-requires-foundation-module -emit-module -enable-library-evolution - o %t -sdk %S/Inputs %S/Inputs/ObjectiveC.swift && '
6
+ ' %target-swift-frontend -enable-objc-interop -emit-module -enable-library-evolution - o %t -sdk %S/Inputs %S/Inputs/Foundation.swift -I %t' ))
7
7
8
8
config.substitutions.insert(0, (' %build-irgen-test-overlays\( mock-sdk-directory: ([^)]+)\) ' ,
9
- SubstituteCaptures(r' %target-swift-frontend -enable-objc-interop -disable-objc-attr-requires-foundation-module -emit-module -o %t -sdk \1 \1 /ObjectiveC.swift && '
10
- r' %target-swift-frontend -enable-objc-interop -emit-module -o %t -sdk \1 \1 /Foundation.swift -I %t' )))
9
+ SubstituteCaptures(r' %target-swift-frontend -enable-objc-interop -disable-objc-attr-requires-foundation-module -emit-module -enable-library-evolution - o %t -sdk \1 \1 /ObjectiveC.swift && '
10
+ r' %target-swift-frontend -enable-objc-interop -emit-module -enable-library-evolution - o %t -sdk \1 \1 /Foundation.swift -I %t' )))
11
11
12
12
def get_target_os():
13
13
import re
You can’t perform that action at this time.
0 commit comments