diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/pure/nimprof.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pure/nimprof.nim b/lib/pure/nimprof.nim index e2397b91c..5a7deaab0 100644 --- a/lib/pure/nimprof.nim +++ b/lib/pure/nimprof.nim @@ -12,7 +12,7 @@ ## report at program exit. when not defined(profiler) and not defined(memProfiler): - {.warning: "Profiling support is turned off!".} + {.error: "Profiling support is turned off! Enable profiling by passing `--profiler:on --stackTrace:on` to the compiler (see the Nim Compiler User Guide for more options).".} # We don't want to profile the profiling code ... {.push profiler: off.} |