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
Copy file name to clipboardExpand all lines: Sources/SwiftOptions/Options.swift
+4-2Lines changed: 4 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -60,6 +60,7 @@ extension Option {
60
60
publicstaticletbsdk:Option=Option("-bsdk",.joinedOrSeparate, attributes:[.noDriver,.argumentIsPath], helpText:"path to the baseline SDK to import frameworks")
publicstaticletbypassBatchModeChecks:Option=Option("-bypass-batch-mode-checks",.flag, attributes:[.helpHidden,.frontend,.noDriver], helpText:"Bypass checks for batch-mode errors.")
63
+
publicstaticletbypassResilience:Option=Option("-bypass-resilience-checks",.flag, attributes:[.helpHidden,.frontend,.noDriver], helpText:"Ignore all checks for module resilience.")
publicstaticletcacheDisableReplay:Option=Option("-cache-disable-replay",.flag, attributes:[.frontend], helpText:"Skip loading the compilation result from cache")
65
66
publicstaticletcandidateModuleFile:Option=Option("-candidate-module-file",.separate, attributes:[.helpHidden,.frontend,.noDriver], metaVar:"<path>", helpText:"Specify Swift module may be ready to use for an interface")
@@ -528,14 +529,14 @@ extension Option {
528
529
publicstaticletjson_:Option=Option("--json",.flag, alias:Option.json, attributes:[.noDriver], helpText:"Print output in JSON format.")
529
530
publicstaticletj:Option=Option("-j",.joinedOrSeparate, attributes:[.doesNotAffectIncrementalBuild], metaVar:"<n>", helpText:"Number of commands to execute in parallel")
publicstaticletlibraryLevel:Option=Option("-library-level",.separate, attributes:[.helpHidden,.frontend,.moduleInterface], metaVar:"<level>", helpText:"Library distribution level 'api', 'spi' or 'other' (the default)")
534
535
publicstaticletlineRange:Option=Option("-line-range",.separate, attributes:[.noInteractive,.noBatch,.indent], metaVar:"<n:n>", helpText:"<start line>:<end line>. Formats a range of lines (1-based). Can only be used with one input file.", group:.codeFormatting)
publicstaticletreuseDependencyScanCache:Option=Option("-load-dependency-scan-cache",.flag, attributes:[.frontend,.noDriver], helpText:"After performing a dependency scan, serialize the scanner's internal state.")
538
-
publicstaticletloadPluginExecutable:Option=Option("-load-plugin-executable",.separate, attributes:[.frontend,.doesNotAffectIncrementalBuild,.argumentIsPath], metaVar:"<path>#<module-names>", helpText:"Path to an executable compiler plugins and providing module names such as macros", group:.pluginSearch)
539
+
publicstaticletloadPluginExecutable:Option=Option("-load-plugin-executable",.separate, attributes:[.frontend,.doesNotAffectIncrementalBuild,.argumentIsPath], metaVar:"<path>#<module-names>", helpText:"Path to a compiler plugin executable and a comma-separated list of module names where the macro types are declared", group:.pluginSearch)
539
540
publicstaticletloadPluginLibrary:Option=Option("-load-plugin-library",.separate, attributes:[.frontend,.doesNotAffectIncrementalBuild,.argumentIsPath], metaVar:"<path>", helpText:"Path to a dynamic library containing compiler plugins such as macros", group:.pluginSearch)
540
541
publicstaticletlocale:Option=Option("-locale",.separate, attributes:[.frontend,.doesNotAffectIncrementalBuild], metaVar:"<locale-code>", helpText:"Choose a language for diagnostic messages")
541
542
publicstaticletlocalizationPath:Option=Option("-localization-path",.separate, attributes:[.frontend,.doesNotAffectIncrementalBuild,.argumentIsPath], metaVar:"<path>", helpText:"Path to localized diagnostic messages directory")
0 commit comments