Skip to content

Fix compiler warnings#646

Merged
ktoso merged 4 commits intoswiftlang:mainfrom
sidepelican:reduce_warnings
Mar 25, 2026
Merged

Fix compiler warnings#646
ktoso merged 4 commits intoswiftlang:mainfrom
sidepelican:reduce_warnings

Conversation

@sidepelican
Copy link
Contributor

This PR fixes various compiler warnings that have surfaced after recent updates.
The goal is to reduce build-time noise and improve the clarity of the logs.

@sidepelican sidepelican requested a review from ktoso as a code owner March 25, 2026 03:17
}
}

let sourceDir = target.directory.string
Copy link
Collaborator

Choose a reason for hiding this comment

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

Hmm I'm remembering this wasn't available everywhere, let's see if co is happy

@ktoso
Copy link
Collaborator

ktoso commented Mar 25, 2026

Overall looking good, one nitpick and let's get co green

ktoso and others added 2 commits March 25, 2026 13:24
@sidepelican
Copy link
Contributor Author

When running swift format in Swift 6.3, numerous differences were detected, so I used Swift 6.2.4 instead.

@ktoso
Copy link
Collaborator

ktoso commented Mar 25, 2026

swift-format not being stable is quite problematic yes... We'll probably bump the CI to use 6.3 now that it was released and we can use this as baseline for development.

Thanks for the fix

@ktoso ktoso merged commit d31fed2 into swiftlang:main Mar 25, 2026
61 checks passed
@sidepelican sidepelican deleted the reduce_warnings branch March 25, 2026 08:01
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