diff options
author | Andreas Rumpf <rumpf_a@web.de> | 2015-10-07 01:33:20 +0200 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2015-10-07 01:33:20 +0200 |
commit | 80ee72956af12b54853bfe05c1bd3fd3e47ff052 (patch) | |
tree | 5bfcbd23da6b313af1bcacae7b9c182600dabf18 /lib/pure/ospaths.nim | |
parent | 2e413d3186455bf92ee9bae04304cb34cf1f2557 (diff) | |
parent | 391f2fc9b1954061169978c484c7c2fe7047209a (diff) | |
download | Nim-80ee72956af12b54853bfe05c1bd3fd3e47ff052.tar.gz |
Merge pull request #3403 from tmm1/fix-test-failures
[WIP] Fix test failures in CI
Diffstat (limited to 'lib/pure/ospaths.nim')
-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 dcc710193..667ca82d7 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.} |