Skip to content
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

[SE-0458] Pass -strict-memory-safety through to the frontend #1823

Merged
merged 2 commits into from
Feb 27, 2025

Conversation

DougGregor
Copy link
Member

No description provided.

@DougGregor
Copy link
Member Author

@swift-ci please test

@@ -301,6 +301,7 @@ extension Driver {
.enableUpcomingFeature,
.disableUpcomingFeature,
from: &parsedOptions)
try commandLine.appendLast(.strictMemorySafety, from: &parsedOptions)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't we need to check if it's supported, or has it been implemented in the frontend long enough?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess it's opt-in so there isn't a big risk of incompatibility for this one.

@DougGregor
Copy link
Member Author

Since its opt in, I didn't bother to check

@DougGregor DougGregor merged commit 08f5af3 into swiftlang:main Feb 27, 2025
3 checks passed
@DougGregor DougGregor deleted the se-0458-strict-memory-safety branch February 27, 2025 05:38
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.

2 participants