mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Build swift-frontend as the primary Swift binary, and have swift/swiftc/etc. symlink over to it. This is a step toward allowing swift-driver to replace the swift and swiftc binaries.
3 lines
495 B
Swift
3 lines
495 B
Swift
// RUN: %swiftc_driver -driver-print-jobs -index-file -index-file-path %s %S/Inputs/SwiftModuleA.swift %s -o %t.output_for_index -index-store-path %t.index_store -module-name driver_index 2>&1 | %FileCheck %s
|
|
// CHECK: {{.*}}swift{{(-frontend)?(c\.exe")?}} -frontend -typecheck {{.*}}SwiftModuleA.swift{{"?}} -primary-file {{.*}}driver-index.swift{{"?}} {{.*}}-o {{.*}}.output_for_index{{"?}} {{.*}}-disable-typo-correction {{.*}}-index-store-path {{.*}}.index_store{{"?}} -index-system-modules
|