mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Eliminate the "copy the plugin library" step for these tests, which was always a hack and doesn't scale when we add more shared libraries.
11 lines
608 B
Swift
11 lines
608 B
Swift
// RUN: %empty-directory(%t/DISTINCTIVE-WINDOWS-PATH/usr/bin)
|
|
// RUN: %empty-directory(%t/DISTINCTIVE-WINDOWS-PATH/usr/lib)
|
|
// RUN: %hardlink-or-copy(from: %swift_frontend_plain, to: %t/DISTINCTIVE-WINDOWS-PATH/usr/bin/swiftc)
|
|
// RUN: %host-library-env PATH= %t/DISTINCTIVE-WINDOWS-PATH/usr/bin/swiftc -target x86_64-unknown-windows-msvc -### -module-name link -emit-library %s 2>&1 | %FileCheck %s
|
|
|
|
// swift-frontend cannot be copied to another location with bootstrapping because
|
|
// it will not find the libswiftCore library with its relative RPATH.
|
|
// UNSUPPORTED: swift_in_compiler
|
|
|
|
// CHECK: {{^}}clang
|