Skip to content

Conversation

compnerd
Copy link
Member

When building the standard libraries with the LLVM ADT types, we use the local definition which have been modified to avoid ODR violations. However, due to the intermingling of the compiler and runtime implementations, we cannot isolate the headers properly to ensure that the right definition is used. We need to ensure that we pass along SWIFT_RUNTIME when processing headers to avoid references to the unsafe references to the LLVM Support library.

When building the standard libraries with the LLVM ADT types, we use the
local definition which have been modified to avoid ODR violations.
However, due to the intermingling of the compiler and runtime
implementations, we cannot isolate the headers properly to ensure that
the right definition is used. We need to ensure that we pass along
`SWIFT_RUNTIME` when processing headers to avoid references to the
unsafe references to the LLVM Support library.
@compnerd
Copy link
Member Author

@swift-ci please smoke test

@compnerd
Copy link
Member Author

@swift-ci please smoke test macOS platform

@compnerd
Copy link
Member Author

@swift-ci please test Windows platform

@compnerd compnerd enabled auto-merge June 29, 2025 00:20
@compnerd
Copy link
Member Author

@swift-ci please test Windows platform

1 similar comment
@compnerd
Copy link
Member Author

@swift-ci please test Windows platform

@compnerd compnerd merged commit a654df7 into swiftlang:main Jun 30, 2025
3 checks passed
@compnerd compnerd deleted the isolation branch June 30, 2025 21:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants