summary refs log tree commit diff stats
path: root/compiler/sigmatch.nim
diff options
context:
space:
mode:
authorAndreas Rumpf <rumpf_a@web.de>2018-11-07 18:36:45 +0100
committerAndreas Rumpf <rumpf_a@web.de>2018-11-07 18:36:52 +0100
commitcb4d81065967e9b40b1e488fc66f1d926f19f536 (patch)
tree1ceecf540330b20c2d73e765972cba349de0cc2e /compiler/sigmatch.nim
parentd5e113c3a626d3c32eba39e513f08f0fc8f05bfe (diff)
downloadNim-cb4d81065967e9b40b1e488fc66f1d926f19f536.tar.gz
make Nim take roughly 100MB less RAM for bootstrapping via a new compiler switch -d:leanCompiler; useful for the Raberry PI
Diffstat (limited to 'compiler/sigmatch.nim')
-rw-r--r--compiler/sigmatch.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/sigmatch.nim b/compiler/sigmatch.nim
index 74935721d..9d5dfc3f1 100644
--- a/compiler/sigmatch.nim
+++ b/compiler/sigmatch.nim
@@ -15,7 +15,7 @@ import
   magicsys, condsyms, idents, lexer, options, parampatterns, strutils, trees,
   linter, lineinfos
 
-when defined(booting) or defined(nimsuggest):
+when (defined(booting) or defined(nimsuggest)) and not defined(leanCompiler):
   import docgen
 
 type