diff options
author | Araq <rumpf_a@web.de> | 2018-11-21 11:39:31 +0100 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2018-11-21 11:39:38 +0100 |
commit | b78699917e9c993bca04c262b909ea8b13aa2724 (patch) | |
tree | ce96e2d386c1ff280925319abeab01ea6c27a85e /compiler/commands.nim | |
parent | 6ad5e01160065d2ae79ec305603db46488cc8115 (diff) | |
download | Nim-b78699917e9c993bca04c262b909ea8b13aa2724.tar.gz |
document the --incremental build switch; make CIs green again
Diffstat (limited to 'compiler/commands.nim')
-rw-r--r-- | compiler/commands.nim | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/compiler/commands.nim b/compiler/commands.nim index a26672a3c..fa17e9851 100644 --- a/compiler/commands.nim +++ b/compiler/commands.nim @@ -642,7 +642,8 @@ proc processSwitch*(switch, arg: string, pass: TCmdLinePass, info: TLineInfo; of "help", "h": expectNoArg(conf, switch, arg, pass, info) helpOnError(conf, pass) - of "symbolfiles", "incremental": + of "symbolfiles": discard "ignore for backwards compat" + of "incremental": when not defined(nimIncremental): localError(conf, info, "the compiler was not built with " & "incremental compilation features; bootstrap with " & @@ -653,7 +654,7 @@ proc processSwitch*(switch, arg: string, pass: TCmdLinePass, info: TLineInfo; of "writeonly": conf.symbolFiles = writeOnlySf of "readonly": conf.symbolFiles = readOnlySf of "v2": conf.symbolFiles = v2Sf - else: localError(conf, info, "invalid option for --symbolFiles: " & arg) + else: localError(conf, info, "invalid option for --incremental: " & arg) of "skipcfg": expectNoArg(conf, switch, arg, pass, info) incl(conf.globalOptions, optSkipSystemConfigFile) |