swift
fb529ff0 - [cxx-interop] Mark all CxxStdlib APIs as `@_alwaysEmitIntoClient`

Commit
349 days ago
[cxx-interop] Mark all CxxStdlib APIs as `@_alwaysEmitIntoClient` The change in 269fc941 turned out not to be enough to solve linker errors when using the CxxStdlib overlay with a non-default C++ stdlib. In addition to `@inlinable`, the Swift functions in the overlay need to be `@_alwaysEmitIntoClient` to prevent Swift from trying to link a program that uses libc++ on Linux against the CxxStdlib binary shipped in the toolchain. rdar://138838506
Author
Committer
Parents
Loading