summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAndreas Rumpf <rumpf_a@web.de>2019-02-23 11:34:39 +0100
committerAndreas Rumpf <rumpf_a@web.de>2019-02-23 11:34:39 +0100
commitc5dbb0379fc431a01220224097f00323df6c9ced (patch)
tree9307332189b7873e0863ed82cac4f47d7013d217
parent7ec187a8e11fa4a32aad9c722e49f5d3f0c27909 (diff)
downloadNim-c5dbb0379fc431a01220224097f00323df6c9ced.tar.gz
disable compile-time FFI support
-rw-r--r--koch.nim4
-rw-r--r--tests/vm/tevalffi.nim2
2 files changed, 2 insertions, 4 deletions
diff --git a/koch.nim b/koch.nim
index a6c2443ce..3698db212 100644
--- a/koch.nim
+++ b/koch.nim
@@ -469,9 +469,7 @@ proc runCI(cmd: string) =
   ## build nimble early on to enable remainder to depend on it if needed
   kochExecFold("Build Nimble", "nimble")
 
-  when not defined(windows):
-    # pending https://github.com/Araq/libffi/pull/2
-    # also, that PR works on win32 but not yet win64
+  when false:
     execFold("nimble install -y libffi", "nimble install -y libffi")
     kochExecFold("boot -d:release -d:nimHasLibFFI", "boot -d:release -d:nimHasLibFFI")
 
diff --git a/tests/vm/tevalffi.nim b/tests/vm/tevalffi.nim
index 20852faca..963d2a58e 100644
--- a/tests/vm/tevalffi.nim
+++ b/tests/vm/tevalffi.nim
@@ -18,7 +18,7 @@ foo:102:103:104
 foo:0.03:asdf:103:105
 ret={s1:foobar s2:foobar age:25 pi:3.14}
 '''
-  disabled: "windows"
+  disabled: "true"
 """
 
 # re-enable for windows once libffi can be installed in koch.nim