We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1335dd3 commit 1d9a8f6Copy full SHA for 1d9a8f6
Sources/PackageDescription/BuildSettings.swift
@@ -472,6 +472,9 @@ public struct SwiftSetting: Sendable {
472
/// inference. The only valid arguments are `MainActor.self` and `nil`.
473
/// - condition: A condition that restricts the application of the build
474
/// setting.
475
+ ///
476
+ /// The compiler defaults to inferring unannotated code as `nonisolated` if unspecified,
477
+ /// or if the `isolation` parameter is set to `nil`.
478
@available(_PackageDescription, introduced: 6.2)
479
public static func defaultIsolation(
480
_ isolation: MainActor.Type?,
0 commit comments