mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
This allows building the Swift standard library for targets which may not have an actual OS running. This is identified by the OS field in the target triple being set to `none`.
5 lines
219 B
Swift
5 lines
219 B
Swift
// RUN: %swiftc_driver_plain -target aarch64-unknwon-none-none -driver-print-jobs %s 2>&1 | %FileCheck %s
|
|
|
|
// CHECK: {{.*}}swift{{c|-frontend}}{{(.exe)?"?}} -frontend -c
|
|
// CHECK: {{.*}}clang{{(.exe)?"?}} -fuse-ld=gold
|