mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[Driver] Implement inference of -plugin-path arguments.
This was previously implemented in the new driver; backport it to the existing driver, which is still used by SourceKit. Fixes rdar://106790436.
This commit is contained in:
7
test/Driver/compiler_plugin_path.swift
Normal file
7
test/Driver/compiler_plugin_path.swift
Normal file
@@ -0,0 +1,7 @@
|
||||
// RUN: %swiftc_driver -driver-print-jobs -target x86_64-apple-macosx10.9 %s 2>^1 | %FileCheck %s
|
||||
|
||||
// CHECK: -plugin-path
|
||||
// CHECK-SAME: BUILD_DIR/lib/swift/host/plugins
|
||||
|
||||
// CHECK-SAME: -plugin-path
|
||||
// CHECK-SAME: BUILD_DIR/local/lib/swift/host/plugins
|
||||
Reference in New Issue
Block a user