Skip to content

Commit 96f7e24

Browse files
committed
Add default implementation, avoid revlock with the swift repo
1 parent 1861b8d commit 96f7e24

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

Sources/SwiftIfConfig/BuildConfiguration.swift

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -291,3 +291,11 @@ public protocol BuildConfiguration {
291291
/// #endif
292292
var compilerVersion: VersionTuple { get }
293293
}
294+
295+
/// Default implementation of BuildConfiguration, to avoid a revlock with the
296+
/// swift repo.
297+
extension BuildConfiguration {
298+
func isActiveTargetObjectFileFormat(name: String) throws -> Bool {
299+
return false
300+
}
301+
}

0 commit comments

Comments
 (0)