Skip to content

Conversation

@jrflat
Copy link
Contributor

@jrflat jrflat commented Jul 28, 2025

Compute submissionRing and completionRing before initializing all properties in one go to prevent a compiler error in release mode.

Verified on a Swift 6.2 Ubuntu 22.04 image (swift-6.2-DEVELOPMENT-SNAPSHOT-2025-07-26-a) that System now builds in release mode (previously failed with the error shown in the issue).

Resolves #237

@jrflat jrflat requested review from Catfish-Man and removed request for glessard, lorentey and milseman July 28, 2025 17:03
@jrflat
Copy link
Contributor Author

jrflat commented Jul 28, 2025

@swift-ci please test

@stephentyrone stephentyrone requested a review from glessard July 28, 2025 17:05
Copy link
Member

@Catfish-Man Catfish-Man left a comment

Choose a reason for hiding this comment

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

Seems fine to me. As you can see from the previous code there's been a bunch of juggling stuff to deal with compiler issues around initialization here.

@jrflat jrflat merged commit e1191b2 into apple:main Jul 28, 2025
23 checks passed
@vsarunas
Copy link

Thanks!
Could you please create a 1.6.1 release?

@glessard
Copy link
Contributor

@vsarunas I believe there's another fix incoming that we will want in a 1.6.1 tag.

@glessard glessard mentioned this pull request Jul 30, 2025
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.6.0 release is not buildable with Swift 6.2 in release mode

4 participants