Skip to content

stdlib: Resolve -strict-memory-safety warnings #81593

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

Merged
merged 2 commits into from
May 19, 2025

Conversation

tshortli
Copy link
Contributor

Add missing unsafe operators and @unsafe attributes in new code that was generating warnings.

tshortli added 2 commits May 18, 2025 10:37
The missing attribute was causing "no unsafe expressions" warnings elsewhere
when building the CompatibilitySpan library.
@tshortli tshortli requested review from ktoso and a team as code owners May 18, 2025 17:42
@tshortli
Copy link
Contributor Author

@swift-ci please smoke test

@tshortli
Copy link
Contributor Author

@swift-ci please smoke test macOS

@tshortli tshortli merged commit 742a96d into swiftlang:main May 19, 2025
3 checks passed
@tshortli tshortli deleted the strict-memory-safety-warnings branch May 19, 2025 05:19
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.

1 participant