diff options
author | Andreas Rumpf <rumpf_a@web.de> | 2019-06-05 08:02:54 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-06-05 08:02:54 +0200 |
commit | 721534119000c2bd53cc72b531726a6104381222 (patch) | |
tree | b03f8b734bfd4526ce719cd065e94d0f8e34a171 /compiler/main.nim | |
parent | fc4f0808c45ab8e72e2c2e3792e4756d9380fe8c (diff) | |
download | Nim-721534119000c2bd53cc72b531726a6104381222.tar.gz |
make fullpaths the default in error messages and stack traces for mor… (#11385)
* make fullpaths the default in error messages and stack traces for more convenient development * split up -d:release into -d:release and -d:danger flags * workaround a Nim config parser bug * fixes an old nim config parser bug * make megatest green again * make nimpretty tests work again * make nimsuggest green
Diffstat (limited to 'compiler/main.nim')
-rw-r--r-- | compiler/main.nim | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/compiler/main.nim b/compiler/main.nim index 84a0fb97d..acd7c7485 100644 --- a/compiler/main.nim +++ b/compiler/main.nim @@ -363,7 +363,8 @@ proc mainCommand*(graph: ModuleGraph) = rawMessage(conf, hintSuccessX, [$conf.linesCompiled, formatFloat(epochTime() - conf.lastCmdTime, ffDecimal, 3), usedMem, - if isDefined(conf, "release"): "Release Build" + if isDefined(conf, "danger"): "Dangerous Release Build" + elif isDefined(conf, "release"): "Release Build" else: "Debug Build"]) when PrintRopeCacheStats: |