-
Notifications
You must be signed in to change notification settings - Fork 10.4k
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
Concurrency: remove workaround for silencing UB #80246
base: main
Are you sure you want to change the base?
Conversation
@swift-ci please smoke test |
@swift-ci please smoke test Linux platform |
1 similar comment
@swift-ci please smoke test Linux platform |
@swift-ci please smoke test macOS platform |
@swift-ci please smoke test Linux platform |
@swift-ci please smoke test macOS platform |
2 similar comments
@swift-ci please smoke test macOS platform |
@swift-ci please smoke test macOS platform |
macOS failures:
are because we gained a "memcpy" dependency:
Adding "memcpy" to the allowlist of deps should resolve it. |
Is there a reason that these tests are macOS only? |
The newer clang properly identifies UB on invalid pointer casts. This was previously being silenced by suppressing the warnings. Adjust the code to use `std::bit_cast` (or the shim implementation) to avoid the UB in this code.
ae20170
to
87f2b88
Compare
@swift-ci please smoke test |
The newer clang properly identifies UB on invalid pointer casts. This was previously being silenced by suppressing the warnings. Adjust the code to use
std::bit_cast
(or the shim implementation) to avoid the UB in this code.