You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Always apply working-directory in the swift-driver
Consistently apply working-directory even if the option is not
explicitly passed. This ensures the created swift-frontend invocations
can be executed anywhere without worrying about what the current
directory is.
publicstaticletv:Option=Option("-v",.flag, attributes:[.doesNotAffectIncrementalBuild], helpText:"Show commands to run and use verbose output")
819
819
publicstaticletwarnConcurrency:Option=Option("-warn-concurrency",.flag, attributes:[.frontend,.doesNotAffectIncrementalBuild], helpText:"Warn about code that is unsafe according to the Swift Concurrency model and will become ill-formed in a future language version")
820
820
publicstaticletwarnImplicitOverrides:Option=Option("-warn-implicit-overrides",.flag, attributes:[.frontend,.doesNotAffectIncrementalBuild], helpText:"Warn about implicit overrides of protocol members")
@@ -832,7 +832,7 @@ extension Option {
832
832
publicstaticletweakLinkAtTarget:Option=Option("-weak-link-at-target",.flag, attributes:[.helpHidden,.frontend,.noDriver], helpText:"Weakly link symbols for declarations that were introduced at the deployment target. Symbols introduced before the deployment target are still strongly linked.")
833
833
publicstaticletwholeModuleOptimization:Option=Option("-whole-module-optimization",.flag, attributes:[.frontend,.noInteractive], helpText:"Optimize input files together instead of individually")
publicstaticletworkingDirectory:Option=Option("-working-directory",.separate, metaVar:"<path>", helpText:"Resolve file paths relative to the specified directory")
0 commit comments