mirror of
https://github.com/nim-lang/Nim.git
synced 2026-01-02 11:12:37 +00:00
koch temp uses '-d:debug'
This commit is contained in:
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:
|
||||
|
||||
Reference in New Issue
Block a user