Fix typo
This commit is contained in:
parent
93f0f1c6e4
commit
ab31b776ef
1 changed files with 1 additions and 1 deletions
|
|
@ -272,7 +272,7 @@ proc mainCommand*(graph: ModuleGraph; cache: IdentCache) =
|
||||||
if msgs.gErrorCounter == 0 and
|
if msgs.gErrorCounter == 0 and
|
||||||
gCmd notin {cmdInterpret, cmdRun, cmdDump}:
|
gCmd notin {cmdInterpret, cmdRun, cmdDump}:
|
||||||
when declared(system.getMaxMem):
|
when declared(system.getMaxMem):
|
||||||
let usedMem = formatSize(getMaxMem()) & " peekmem"
|
let usedMem = formatSize(getMaxMem()) & " peakmem"
|
||||||
else:
|
else:
|
||||||
let usedMem = formatSize(getTotalMem())
|
let usedMem = formatSize(getTotalMem())
|
||||||
rawMessage(hintSuccessX, [$gLinesCompiled,
|
rawMessage(hintSuccessX, [$gLinesCompiled,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue