diff options
author | Aman Gupta <aman@tmm1.net> | 2015-09-30 20:14:14 -0700 |
---|---|---|
committer | Aman Gupta <aman@tmm1.net> | 2015-09-30 20:14:14 -0700 |
commit | 61ace9e394128a362a457e64c6acd76d7954aaeb (patch) | |
tree | 3986e9728cd59efcaf6f5072e4fb7d8b6d9df719 /lib | |
parent | 82a04051bb0e02c574d22503786d6d47d500bc27 (diff) | |
download | Nim-61ace9e394128a362a457e64c6acd76d7954aaeb.tar.gz |
fix failure in lib/pure/ospaths.nim
FAIL: ospaths.nim Test "lib/pure/ospaths.nim" in category "lib" Failure: reNimcCrash Expected: Gotten: invalid pragma: rtl
Diffstat (limited to 'lib')
-rw-r--r-- | lib/pure/ospaths.nim | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/pure/ospaths.nim b/lib/pure/ospaths.nim index 99f6bcd4d..fd28db443 100644 --- a/lib/pure/ospaths.nim +++ b/lib/pure/ospaths.nim @@ -10,6 +10,10 @@ # Included by the ``os`` module but a module in its own right for NimScript # support. +when isMainModule: + {.pragma: rtl.} + import strutils + when defined(nimscript) or (defined(nimdoc) and not declared(os)): {.pragma: rtl.} {.push hint[ConvFromXtoItselfNotNeeded]:off.} |