Skip to content

Commit 42ec79a

Browse files
committed
Adjust availability and comment on default implementation of isActiveTargetObjectFormat
1 parent e07dc82 commit 42ec79a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Sources/SwiftIfConfig/BuildConfiguration.swift

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -309,8 +309,7 @@ public protocol BuildConfiguration {
309309
/// Default implementation of BuildConfiguration, to avoid a revlock with the
310310
/// swift repo, and breaking clients with the new addition to the protocol.
311311
extension BuildConfiguration {
312-
/// FIXME: This should be @_spi(ExperimentalLanguageFeatures) but cannot due
313-
/// to rdar://147943518, https://github.com/swiftlang/swift/issues/80313
312+
@available(*, deprecated, message: "`BuildConfiguration` conformance must implement `isActiveTargetObjectFormat`")
314313
public func isActiveTargetObjectFormat(name: String) throws -> Bool {
315314
throw BuildConfigurationError.notImplemented(name: "isActiveTargetObjectFormat")
316315
}

0 commit comments

Comments
 (0)