mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
...and remove the option. This is ~technically~ CLI-breaking because Swift 5 shipped this as a hidden driver option, but it wouldn't have /done/ anything in Swift 5, so I think it's okay to remove. Note that if a parseable interface (.swiftinterface) and a binary interface (.swiftmodule) are both present, the binary one will still be preferred. This just /allows/ parseable interfaces to be used. rdar://problem/36885834
11 lines
451 B
Swift
11 lines
451 B
Swift
// RUN: %empty-directory(%t)
|
|
|
|
// RUN: %target-build-swift -emit-library -module-name TestModule -module-link-name coreTestModuleKitUtilsTool %S/Inputs/TestModule.swift -emit-parseable-module-interface -o %t/%target-library-name(coreTestModuleKitUtilsTool)
|
|
// RUN: %target-swift-frontend -emit-ir -I %t -L %t %s | %FileCheck %s
|
|
|
|
import TestModule
|
|
|
|
_ = TestStruct()
|
|
|
|
// CHECK: {{-lcoreTestModuleKitUtilsTool|/DEFAULTLIB:coreTestModuleKitUtilsTool.lib}}
|