thebrowsercompany / swift-build

Swift toolchain builds by The Browser Company
350 stars 11 forks source link

C++ interop support for multiple C++ runtimes #113

Open tristanlabelle opened 6 months ago

tristanlabelle commented 6 months ago

C++ interop should support both code that uses the msvc++ runtime and code that uses libc++.

This is accomplished by entering a special libc++ import context when loading a set of specified Clang modules that depend on libc++ instead of msvc STL.

hyp commented 5 months ago

Working on finalizing it and putting up the PR.

hyp commented 5 months ago

https://github.com/apple/swift/pull/72843