diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/main.nim | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main.nim b/src/main.nim index 6b220557..e5d8d89b 100644 --- a/src/main.nim +++ b/src/main.nim @@ -1,3 +1,7 @@ +when NimMajor < 2: + {.error("Nim versions older than 2.0.0 can not compile Chawan. " & + "Please grab a newer one from https://nim-lang.org/install.html").} + import std/options import std/os import std/posix |