mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[interop] add target-build-swift-link-cxx option for windows to link correctly
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
// RUN: %target-swift-frontend %S/swift-functions.swift -typecheck -module-name Functions -emit-cxx-header-path %t/functions.h
|
||||
|
||||
// RUN: %target-clangxx -c %s -I %t -o %t/swift-functions-execution.o
|
||||
// RUN: %target-build-swift %S/swift-functions.swift -o %t/swift-functions-execution -Xlinker %t/swift-functions-execution.o -module-name Functions -Xfrontend -entry-point-function-name -Xfrontend swiftMain -Xfrontend -enable-cxx-interop
|
||||
// RUN: %target-build-swift-link-cxx %S/swift-functions.swift -o %t/swift-functions-execution -Xlinker %t/swift-functions-execution.o -module-name Functions -Xfrontend -entry-point-function-name -Xfrontend swiftMain
|
||||
|
||||
// RUN: %target-codesign %t/swift-functions-execution
|
||||
// RUN: %target-run %t/swift-functions-execution | %FileCheck %s
|
||||
|
||||
Reference in New Issue
Block a user