Skip to content

[cxx-interop] Build CxxStdlib overlay for static Linux SDK #81448

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

egorzhdan
Copy link
Contributor

rdar://149846747

@egorzhdan egorzhdan added the c++ interop Feature: Interoperability with C++ label May 12, 2025
@egorzhdan egorzhdan requested review from MaxDesiatov and al45tair May 12, 2025 15:24
@egorzhdan
Copy link
Contributor Author

@swift-ci please test

@egorzhdan egorzhdan marked this pull request as draft May 12, 2025 18:34
@egorzhdan egorzhdan marked this pull request as ready for review May 13, 2025 11:20
@egorzhdan egorzhdan marked this pull request as draft May 13, 2025 11:21
@egorzhdan
Copy link
Contributor Author

The overlay likely won't be built correctly, since the build script is adding libc++ include paths manually via -isystem, while Swift expects -stdlib=libc++.

list(APPEND result "-isystem" "${SWIFT_MUSL_PATH}/${CFLAGS_ARCH}/usr/include/c++/v1")

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c++ interop Feature: Interoperability with C++
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants