-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Disable check for unsafe flags. #8896
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
Conversation
As discussed in the Swift forums below, a number of projects require the use of "unsafe" flags. A common example is the use of absolute header include paths set via an environment variable that project consumers agree to use. As such, the flags can be safely used under those circumstances. This change disables the one line that was doing the check. We will further study the issue and come up with other mechanisms to ensure the challenges some flags have on quality of the package ecosystem are mitigated.
@swift-ci please test |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fantastic! Really thankful and looking forward to this change. Thanks Doug and team!
@dschaefer2 Could you please share the forum post? |
Oops, forgot to do that in the description. Fixed. |
@swift-ci please test Windows |
@swift-ci please test self hosted windows |
As discussed in the Swift forums below, a number of projects require the use of "unsafe" flags. A common example is the use of absolute header include paths set via an environment variable that project consumers agree to use. As such, the flags can be safely used under those circumstances. This change disables the one line that was doing the check. We will further study the issue and come up with other mechanisms to ensure the challenges some flags have on quality of the package ecosystem are mitigated. https://forums.swift.org/t/pitch-disable-checks-for-unsafe-flags-in-swiftpm/80698
Cherry-pick #8896 As discussed in the Swift forums below, a number of projects require the use of "unsafe" flags. A common example is the use of absolute header include paths set via an environment variable that project consumers agree to use. As such, the flags can be safely used under those circumstances. This change disables the one line that was doing the check. We will further study the issue and come up with other mechanisms to ensure the challenges some flags have on quality of the package ecosystem are mitigated. https://forums.swift.org/t/pitch-disable-checks-for-unsafe-flags-in-swiftpm/80698
As discussed in the Swift forums below, a number of projects require the use of "unsafe" flags. A common example is the use of absolute header include paths set via an environment variable that project consumers agree to use. As such, the flags can be safely used under those circumstances.
This change disables the one line that was doing the check.
We will further study the issue and come up with other mechanisms to ensure the challenges some flags have on quality of the package ecosystem are mitigated.
https://forums.swift.org/t/pitch-disable-checks-for-unsafe-flags-in-swiftpm/80698