From fb1f15476fb3414763adb9abb05cb428fabf0484 Mon Sep 17 00:00:00 2001 From: Simon Hafner Date: Wed, 28 Jan 2015 13:33:47 -0600 Subject: [PATCH] added documentation about koch temp and the 125 exit code --- doc/intern.txt | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/doc/intern.txt b/doc/intern.txt index d9da863f51..76139f6729 100644 --- a/doc/intern.txt +++ b/doc/intern.txt @@ -145,6 +145,16 @@ are also lots of procs that aid in debugging: # why does it process temp.nim here? writeStackTrace() +To create a new compiler for each run, use ``koch temp``:: + + ./koch temp c /tmp/test.nim + +``koch temp`` returns 125 as the exit code in case the compiler +compilation fails. This exit code tells ``git bisect`` to skip the +current commit.:: + + git bisect start bad-commit good-commit + git bisect ./koch -r c test-source.nim The compiler's architecture ===========================