koch temp uses '-d:debug'
This commit is contained in:
parent
eab7c88ce9
commit
c6471b8f72
1 changed files with 2 additions and 2 deletions
4
koch.nim
4
koch.nim
|
|
@ -473,7 +473,7 @@ proc temp(args: string) =
|
|||
# commit.
|
||||
let (bootArgs, programArgs) = splitArgs(args)
|
||||
let nimexec = findNim()
|
||||
exec(nimexec & " c " & bootArgs & " compiler" / "nim", 125)
|
||||
exec(nimexec & " c -d:debug " & bootArgs & " compiler" / "nim", 125)
|
||||
copyExe(output, finalDest)
|
||||
if programArgs.len > 0: exec(finalDest & " " & programArgs)
|
||||
|
||||
|
|
@ -482,7 +482,7 @@ proc xtemp(cmd: string) =
|
|||
copyExe(d / "bin" / "nim".exe, d / "bin" / "nim_backup".exe)
|
||||
try:
|
||||
withDir(d):
|
||||
temp"-d:debug"
|
||||
temp""
|
||||
copyExe(d / "bin" / "nim_temp".exe, d / "bin" / "nim".exe)
|
||||
exec(cmd)
|
||||
finally:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue