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 11// This is an overlay Swift module.
22@_exported import ObjectiveC
33
4+ @frozen
45public struct ObjCBool : CustomStringConvertible {
56#if (os(macOS) && arch(x86_64)) || (os(iOS) && (arch(i386) || arch(arm) || targetEnvironment(macCatalyst)))
67
@@ -34,6 +35,7 @@ public struct ObjCBool : CustomStringConvertible {
3435 }
3536}
3637
38+ @frozen
3739public struct Selector {
3840 private var ptr : OpaquePointer
3941}
Original file line number Diff line number Diff line change 22config.substitutions = list(config.substitutions)
33
44config.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' ))
77
88config.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' )))
1111
1212def get_target_os():
1313 import re
You can’t perform that action at this time.
0 commit comments