mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
This flag was added back in 2020, but it didn't function properly, since a lot of other code in the compiler assumed the platform-default C++ stdlib until recently (https://github.com/swiftlang/swift/pull/75589). The recommended way to use a non-default C++ stdlib in Swift now is to pass `-Xcc -stdlib=xyz` argument to the compiler. This change removes the `-experimental-cxx-stdlib` flag.
5 lines
225 B
Swift
5 lines
225 B
Swift
// RUN: %swiftc_driver -driver-print-jobs -target x86_64-apple-macosx10.9 %s -Xfrontend -enable-experimental-cxx-interop 2>^1 | %FileCheck -check-prefix ENABLE %s
|
|
|
|
// ENABLE: swift
|
|
// ENABLE: -enable-experimental-cxx-interop
|