Skip to content

Commit 066ab07

Browse files
committed
Add missing version info for future and experimental features.
1 parent d8c85f9 commit 066ab07

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Sources/PackageDescription/BuildSettings.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -313,6 +313,7 @@ public struct SwiftSetting: Encodable {
313313
/// - name: The name of the future feature, e.g., ConciseMagicFile.
314314
/// - condition: A condition that restricts the application of the build
315315
/// setting.
316+
@available(_PackageDescription, introduced: 5.7)
316317
public static func enableFutureFeature(
317318
_ name: String,
318319
_ condition: BuildSettingCondition? = nil
@@ -336,6 +337,7 @@ public struct SwiftSetting: Encodable {
336337
/// - name: The name of the experimental feature, e.g., VariadicGenerics.
337338
/// - condition: A condition that restricts the application of the build
338339
/// setting.
340+
@available(_PackageDescription, introduced: 5.7)
339341
public static func enableExperimentalFeature(
340342
_ name: String,
341343
_ condition: BuildSettingCondition? = nil

0 commit comments

Comments
 (0)