You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Building a package with --configuration release disables assertions in Swift code, but not in C/C++/ObjC.
The behaviour should be consistent across languages, and we should introduce a separate command-line option to explicitly control assertions for both swift and clang in release builds, since it is often useful to test in release+asserts.
Attachment: Download
Environment
Swift 5.3, Xcode 12
Additional Detail from JIRA
md5: 88f80158fc8eac071055b74bfae5d006
Issue Description:
Building a package with
--configuration
release disables assertions in Swift code, but not in C/C++/ObjC.The behaviour should be consistent across languages, and we should introduce a separate command-line option to explicitly control assertions for both swift and clang in release builds, since it is often useful to test in release+asserts.
While in debug, assertions are enabled for both
The text was updated successfully, but these errors were encountered: