summary refs log tree commit diff stats
path: root/lib
diff options
context:
space:
mode:
authorTimothee Cour <timothee.cour2@gmail.com>2020-05-19 00:41:31 -0700
committerGitHub <noreply@github.com>2020-05-19 09:41:31 +0200
commite909486e5cde5a4a77cd6f21b42fc9ab38ec2ae6 (patch)
tree7367a3774091f156d91e46cd4c292441ab3da46e /lib
parent27741d6a5c9ec87a6938b2928ae54b22bc93d9be (diff)
downloadNim-e909486e5cde5a4a77cd6f21b42fc9ab38ec2ae6.tar.gz
trunner was not actually being tested in non-CTFFI mode; minor testament cleanups (#14377)
* use check
* trunner now works with cpp
* cleanup: move compiler/unittest_light => stdtest/unittest_light
* fix tests/readme.md
* remove deadcode references to rodfiles
* fix for windows
Diffstat (limited to 'lib')
-rw-r--r--lib/system/io.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/system/io.nim b/lib/system/io.nim
index ab415f40c..84bebba28 100644
--- a/lib/system/io.nim
+++ b/lib/system/io.nim
@@ -733,7 +733,7 @@ when declared(stdout):
         releaseSys echoLock
 
 
-when defined(windows) and not defined(nimscript):
+when defined(windows) and not defined(nimscript) and not defined(js):
   # work-around C's sucking abstraction:
   # BUGFIX: stdin and stdout should be binary files!
   proc c_setmode(handle, mode: cint) {.