Skip to content

Conversation

pmattos
Copy link
Contributor

@pmattos pmattos commented May 16, 2025

Motivation:

Fix a silly typo I did in #8539 (i.e., Sources/SwiftBuildSupport/PackagePIFBuilder+Helpers.swift), where I removed thefreebsd platform by mistake 🫠

Modifications:

Add back freebsdto the SwiftBuild.ProjectModel.BuildSettings.Platform value we sent over to Swift Build.

Tracked by rdar://151042619.

@pmattos
Copy link
Contributor Author

pmattos commented May 16, 2025

@swift-ci please test

@pmattos pmattos enabled auto-merge (squash) May 16, 2025 20:58
case .wasi: .wasi
case .openbsd: .openbsd
case .freebsd: .freebsd
default: preconditionFailure("Unexpected platform: \(platform.name)")
Copy link
Contributor Author

@pmattos pmattos May 17, 2025

Choose a reason for hiding this comment

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

FYI, I discussed this offline with @jakepetroules and will add proper error handling here.

No more hard preconditionFailures, as this could cause clients to crash.

@jakepetroules
Copy link
Contributor

@swift-ci test macos

@jakepetroules
Copy link
Contributor

@swift-ci test windows

@pmattos pmattos merged commit 5035929 into main Jul 17, 2025
6 checks passed
@pmattos pmattos deleted the pmattos/add-freebsd-again-to-PIF branch July 17, 2025 21:16
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.

None yet

3 participants