Files
swift-mirror/test/Driver/linker-autolink-extract.swift
Saleem Abdulrasool 67475dced4 Driver: avoid linking against the C++ runtime
Use `clang` rather than `clang++` as the linker driver.  This ensures
that we do not force a C++ runtime on the general code.  This is fine
for now as C++ interop is not yet available for Swift.  This prevents
the accidental mix-and-match of various C++ runtimes.  This can cause
problems on platforms like android where `libstdc++` is an unsupported
runtime but is generally the default for Linux platforms.
2019-07-24 19:48:02 -07:00

13 lines
395 B
Swift

// RUN: %swiftc_driver -driver-print-jobs -target x86_64-unknown-linux-gnu -g %s | %FileCheck -check-prefix DEBUG_LINUX %s
// REQUIRES: autolink-extract
// DEBUG_LINUX: bin/swift
// DEBUG_LINUX-NEXT: bin/swift-autolink-extract
// DEBUG_LINUX-NEXT: bin/swift
// DEBUG_LINUX-NEXT: bin/swift -modulewrap
// DEBUG_LINUX-NEXT: bin/clang{{"? }}
// DEBUG_LINUX: -o main
// DEBUG_LINUX-NOT: dsymutil