mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Cygwin and MinGW should use the autolink feature in the sameway of Linux due to the linker's limit. Now swift-autolink-extract recognizes the COFF format file for Cygwin/MinGW.
8 lines
232 B
Swift
8 lines
232 B
Swift
// RUN: %target-swiftc_driver -c %s -o %t
|
|
// RUN: %target-swift-autolink-extract %t -o - | FileCheck --check-prefix CHECK-%target-object-format %s
|
|
|
|
// REQUIRES: autolink-extract
|
|
|
|
// CHECK-elf: -lswiftCore
|
|
// CHECK-coff: -lswiftCore
|