nice error message

This commit is contained in:
Araq
2014-08-08 09:54:43 +02:00
parent c5b9486455
commit abf511245a

View File

@@ -9,6 +9,9 @@
## Implements Nimrod's 'spawn'.
when not compileOption("threads"):
{.error: "Threadpool requires --threads:on option.".}
import cpuinfo, cpuload, locks
{.push stackTrace:off.}