mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[ParseableInterface] Distinguish SDK and non-SDK dependencies
This allows the SDK to be relocated without automatically resulting in a rebuild. Based on an old patch from Jordan Rose.
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
// swift-interface-format-version: 1.0
|
||||
// swift-module-flags: -parse-stdlib -module-name ExportedLib
|
||||
|
||||
@_exported import SomeCModule
|
||||
|
||||
public struct ExportedInterface {
|
||||
@inlinable public init() {}
|
||||
}
|
||||
public var testValue: ExportedInterface {
|
||||
@inlinable get { return ExportedInterface() }
|
||||
}
|
||||
Reference in New Issue
Block a user