-
Notifications
You must be signed in to change notification settings - Fork 10.5k
Ubuntu 24.04 Swift 5.10.1 release toolchain should not have assertions enabled #76091
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
Comments
The job used no_assertions preset. I wonder if something else in the swift build system changed and caused it to produce assertion based toolchain.
|
#76092 fixes a problem which would incorrectly enable certain assertions in release builds. (Aside: Current builds are expected to have ASSERT assertions enabled always, even in release. This is part of a long-term project to improve code quality. But CONDITIONAL_ASSERT assertions should have been disabled by default in release builds, and only enabled when the appropriate command-line option was enabled. And of course, old-style C |
I don't see |
Oh, right. Yeah, this isn't in the 5.10 branch. So something else. |
Oh, I think I see the bug. Thanks for it reporting this. |
Any info on when this will be fixed or if it can be worked-around without rebuilding the full toolchain from scratch? I'm running into some (seemingly spurious?) assertions with parameter packs I'd love to turn off: #76103 |
Description
it is hard to tell definitively if a toolchain has assertions enabled or not, however, i ran into #76089 while using the
swift-5.10.1-RELEASE-ubuntu24.04
toolchain from https://www.swift.org/download/ , which suggests that this toolchain was built with assertions enabled. other 5.10.1 release toolchains, such as the Ubuntu 22.04 toolchain, do not exhibit this behavior.Additional information
No response
The text was updated successfully, but these errors were encountered: