File tree Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -1568,6 +1568,12 @@ extension Array where Element == PackageConditionProtocol {
15681568 case . driverKit:
15691569 result += PIF . PlatformFilter. driverKitFilters
15701570
1571+ case . wasi:
1572+ result += PIF . PlatformFilter. webAsssemblyFilters
1573+
1574+ case . openbsd:
1575+ result += PIF . PlatformFilter. openBSDFilters
1576+
15711577 default :
15721578 assertionFailure ( " Unhandled platform condition: \( condition) " )
15731579 break
@@ -1628,6 +1634,16 @@ extension PIF.PlatformFilter {
16281634 . init( platform: " linux " , environment: $0)
16291635 }
16301636 } ( )
1637+
1638+ /// OpenBSD filters.
1639+ public static let openBSDFilters : [ PIF . PlatformFilter ] = [
1640+ . init( platform: " openbsd " ) ,
1641+ ]
1642+
1643+ /// Web Assembly platform filters.
1644+ public static let webAsssemblyFilters : [ PIF . PlatformFilter ] = [
1645+ . init( platform: " wasi " ) ,
1646+ ]
16311647}
16321648
16331649private extension PIF . BuildSettings . Platform {
You can’t perform that action at this time.
0 commit comments