Skip to content

Commit 6973cf5

Browse files
authored
Add FreeBSD support to SwiftBuild PIF builder (#8550)
### Motivation: Add **FreeBSD** support to SwiftBuild PIF builder (i.e., when using `--build-system swiftbuild`). ### Modifications: Just a quick change in how we map a `PackageModel.Platform` value to a `SwiftBuild.ProjectModel.BuildSettings.Platform` one.
1 parent 7cf86c6 commit 6973cf5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Sources/SwiftBuildSupport/PackagePIFBuilder+Helpers.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -969,6 +969,7 @@ extension ProjectModel.BuildSettings.Platform {
969969
case .windows: .windows
970970
case .wasi: .wasi
971971
case .openbsd: .openbsd
972+
case .freebsd: .freebsd
972973
default: preconditionFailure("Unexpected platform: \(platform.name)")
973974
}
974975
}

0 commit comments

Comments
 (0)