Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -239,8 +239,9 @@ extension BuildSettingCondition {
if let nonEmbeddedCondition = nonEmbeddedCondition() {
nonEmbeddedCondition
} else {
// The caller did not supply a fallback.
.when(platforms: [])
// The caller did not supply a fallback. Specify a non-existent platform
// to ensure this condition never matches.
.when(platforms: [.custom("DoesNotExist")])
}
} else {
// Enable unconditionally because the target is Embedded Swift.
Expand Down