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
This commit is contained in:
parent
82a04051bb
commit
61ace9e394
1 changed files with 4 additions and 0 deletions
|
|
@ -10,6 +10,10 @@
|
||||||
# Included by the ``os`` module but a module in its own right for NimScript
|
# Included by the ``os`` module but a module in its own right for NimScript
|
||||||
# support.
|
# support.
|
||||||
|
|
||||||
|
when isMainModule:
|
||||||
|
{.pragma: rtl.}
|
||||||
|
import strutils
|
||||||
|
|
||||||
when defined(nimscript) or (defined(nimdoc) and not declared(os)):
|
when defined(nimscript) or (defined(nimdoc) and not declared(os)):
|
||||||
{.pragma: rtl.}
|
{.pragma: rtl.}
|
||||||
{.push hint[ConvFromXtoItselfNotNeeded]:off.}
|
{.push hint[ConvFromXtoItselfNotNeeded]:off.}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue