Skip to content

AK: Add macro for NO_UNIQUE_ADDRESS and add an escape hatch for current Swift issues #4360

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

Merged
merged 4 commits into from
Apr 15, 2025

Conversation

ADKaster
Copy link
Member

We only use this annotation in AK as it is, since it's such a low-level library tool. These patches make it so the annotation works as expected on MSVC ABIs, and should unbreak the Swift nightlies.

Also add an escape hatch for completely disabling the annotation.
There's an upstream bug on this already.
We should take care of these with macros or other means instead of
suppressing them.
@ADKaster
Copy link
Member Author

This PR has an escape hatch in place for swiftlang/swift#80764

@ADKaster ADKaster merged commit 7d797b2 into LadybirdBrowser:master Apr 15, 2025
7 checks passed
@ADKaster ADKaster deleted the no-unique-address branch April 15, 2025 08:19
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.

1 participant