summary refs log tree commit diff stats
path: root/compiler/main.nim
diff options
context:
space:
mode:
authorTimothee Cour <timothee.cour2@gmail.com>2018-12-29 16:27:37 -0800
committerAndreas Rumpf <rumpf_a@web.de>2018-12-30 01:27:37 +0100
commite98d54b050b0fba8d3d76a54e4eb39cd197ee5f1 (patch)
treeb0804214d14fbf5017bbdaab660953c53d14f2f8 /compiler/main.nim
parent9c65ea0d16828a5e13b136aa05348bce15312dc6 (diff)
downloadNim-e98d54b050b0fba8d3d76a54e4eb39cd197ee5f1.tar.gz
nim dump: add nimcache entry (#10122)
Diffstat (limited to 'compiler/main.nim')
-rw-r--r--compiler/main.nim1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/main.nim b/compiler/main.nim
index 54dc8cb23..b5f7e8364 100644
--- a/compiler/main.nim
+++ b/compiler/main.nim
@@ -284,6 +284,7 @@ proc mainCommand*(graph: ModuleGraph) =
         (key: "defined_symbols", val: definedSymbols),
         (key: "lib_paths", val: %libpaths),
         (key: "out", val: %conf.outFile.string),
+        (key: "nimcache", val: %getNimcacheDir(conf).string),
         (key: "hints", val: hints),
         (key: "warnings", val: warnings),
       ]