diff --git a/Sources/SwiftDriver/Jobs/FrontendJobHelpers.swift b/Sources/SwiftDriver/Jobs/FrontendJobHelpers.swift index b1205cb85..e02fac42e 100644 --- a/Sources/SwiftDriver/Jobs/FrontendJobHelpers.swift +++ b/Sources/SwiftDriver/Jobs/FrontendJobHelpers.swift @@ -173,6 +173,7 @@ extension Driver { try commandLine.appendLast(.requireExplicitAvailabilityTarget, from: &parsedOptions) try commandLine.appendLast(.lto, from: &parsedOptions) try commandLine.appendLast(.accessNotesPath, from: &parsedOptions) + try commandLine.appendLast(.enableActorDataRaceChecks, .disableActorDataRaceChecks, from: &parsedOptions) try commandLine.appendAll(.D, from: &parsedOptions) try commandLine.appendAll(.sanitizeEQ, from: &parsedOptions) try commandLine.appendAll(.debugPrefixMap, from: &parsedOptions) diff --git a/Sources/SwiftOptions/Options.swift b/Sources/SwiftOptions/Options.swift index c62b959d2..d16e8cab4 100644 --- a/Sources/SwiftOptions/Options.swift +++ b/Sources/SwiftOptions/Options.swift @@ -66,6 +66,7 @@ extension Option { public static let diagnosticStyle: Option = Option("-diagnostic-style", .separate, attributes: [.frontend, .doesNotAffectIncrementalBuild], metaVar: "