Let koch temp -u:leanCompiler work (#17388)

This commit is contained in:
Clyybber
2021-03-15 21:40:40 +01:00
committed by GitHub
parent 40a5d6537a
commit da83b992ed

View File

@@ -465,7 +465,7 @@ proc temp(args: string) =
if "doc" notin programArgs and
"threads" notin programArgs and
"js" notin programArgs and "rst2html" notin programArgs:
bootArgs.add " -d:leanCompiler"
bootArgs = " -d:leanCompiler" & bootArgs
let nimexec = findNim().quoteShell()
exec(nimexec & " c -d:debug --debugger:native -d:nimBetterRun " & bootArgs & " " & (d / "compiler" / "nim"), 125)
copyExe(output, finalDest)