mirror of
https://github.com/nim-lang/Nim.git
synced 2026-01-01 02:42:05 +00:00
15 lines
331 B
Nim
15 lines
331 B
Nim
discard """
|
|
cmd: "nim $target $options --os:windows $file"
|
|
disabled: "linux"
|
|
disabled: "bsd"
|
|
disabled: "osx"
|
|
disabled: "unix"
|
|
disabled: "posix"
|
|
"""
|
|
|
|
import strutils
|
|
|
|
static:
|
|
#os is set to "linux" in toswin.nim.cfg, but --os:windows in command line should override it.
|
|
doAssert cmpIgnoreCase(hostOS, "windows") == 0
|