Skip to content

[6.2, cmake] InoutLifetimeDependence should be enabled #81930

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

glessard
Copy link
Contributor

@glessard glessard commented Jun 3, 2025

Explanation: This enables the InoutLifetimeDependence flag when building a toolchain with the new build system. As a result the flag will be enabled in the swift core module's swiftinterface file. (It's already enabled when building with the older system, which generates the OSS toolchains.)

Scope: Binaries which use MutableSpan instances
Original PR: #81923
Risk: Very low; CI toolchains have this flag turned on.
Testing: CI
Reviewed by: @etcwilde

Addresses rdar://152467655

@glessard glessard requested a review from a team as a code owner June 3, 2025 05:04
@glessard
Copy link
Contributor Author

glessard commented Jun 3, 2025

@swift-ci please test

@glessard glessard requested review from stephentyrone and tbkka June 3, 2025 16:47
@glessard glessard added 🍒 release cherry pick Flag: Release branch cherry picks swift 6.2 labels Jun 3, 2025
@glessard glessard merged commit 3e79e5e into swiftlang:release/6.2 Jun 4, 2025
5 checks passed
@glessard glessard deleted the rdar152467655-inout-lifetime-dependence-6.2 branch June 4, 2025 19:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🍒 release cherry pick Flag: Release branch cherry picks swift 6.2
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants