Skip to content

Commit

Permalink
disable compile-time FFI support
Browse files Browse the repository at this point in the history
  • Loading branch information
Araq committed Feb 23, 2019
1 parent 7ec187a commit c5dbb03
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions koch.nim
Original file line number Diff line number Diff line change
Expand Up @@ -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")

Expand Down
2 changes: 1 addition & 1 deletion tests/vm/tevalffi.nim
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c5dbb03

Please sign in to comment.