Skip to content

Commit

Permalink
backport: prefixdir (#13117) and nimExe (#13876) (#14022)
Browse files Browse the repository at this point in the history
  • Loading branch information
timotheecour authored Apr 20, 2020
1 parent 6673934 commit 265f565
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion compiler/main.nim
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ when not defined(nimcore):
{.error: "nimcore MUST be defined for Nim's core tooling".}

import
llstream, strutils, ast, lexer, syntaxes, options, msgs,
llstream, strutils, os, ast, lexer, syntaxes, options, msgs,
condsyms, times,
sem, idents, passes, extccomp,
cgen, json, nversion,
Expand Down Expand Up @@ -303,6 +303,8 @@ proc mainCommand*(graph: ModuleGraph) =

var dumpdata = %[
(key: "version", val: %VersionAsString),
(key: "nimExe", val: %(getAppFilename())),
(key: "prefixdir", val: %conf.getPrefixDir().string),
(key: "project_path", val: %conf.projectFull.string),
(key: "defined_symbols", val: definedSymbols),
(key: "lib_paths", val: %libpaths),
Expand Down

0 comments on commit 265f565

Please sign in to comment.