mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
The target was added for Unix toolchains in #901, but a later pull #1891 added it again. Since clang only uses the last target flag that's passed in, all customization done for the first one was unused these last 4+ years, so remove it and change tests that look for custom strings passed by the first one.
11 lines
747 B
Swift
11 lines
747 B
Swift
// RUN: %empty-directory(%t)
|
|
// RUN: %swift_driver_plain --driver-mode=swiftc -target armv7-unknown-linux-androideabihf -emit-executable %s -### 2>&1 | %FileCheck %s -check-prefix CHECK-ARMv7
|
|
// CHECK-ARMv7: clang{{(.exe)?"?.*}} --target=armv7-unknown-linux-androidhf
|
|
|
|
// RUN: %swift_driver_plain --driver-mode=swiftc -target aarch64-mone-linux-androideabi -emit-executable %s -### 2>&1 | %FileCheck %s -check-prefix CHECK-ARM64
|
|
// CHECK-ARM64: clang{{(.exe)?"?.*}} --target=aarch64-mone-linux-android
|
|
|
|
// RUN: %swift_driver_plain --driver-mode=swiftc -target x86_64-unknown-linux-androideabi -emit-executable %s -### 2>&1 | %FileCheck %s -check-prefix CHECK-X64
|
|
// CHECK-X64: clang{{(.exe)?"?.*}} --target=x86_64-unknown-linux-android
|
|
|