Allow libffi to work via koch boot (#22322)

* Divert libffi from nimble path, impl into koch

* Typo in koch

* Update options.nim comment

* Fix CI Test

* Update changelog

* Clarify libffi nimble comment

* Future pending changelog

---------

Co-authored-by: ringabout <43030857+ringabout@users.noreply.github.com>
This commit is contained in:
awr1
2023-08-03 14:06:30 -07:00
committed by GitHub
parent 8d8d75706c
commit 14bc3f3268
4 changed files with 45 additions and 15 deletions

View File

@@ -11,7 +11,7 @@
import ast, types, options, tables, dynlib, msgs, lineinfos
from os import getAppFilename
import pkg/libffi
import libffi/libffi
when defined(windows):
const libcDll = "msvcrt.dll"

View File

@@ -209,7 +209,7 @@ type
codeReordering,
compiletimeFFI,
## This requires building nim with `-d:nimHasLibFFI`
## which itself requires `nimble install libffi`, see #10150
## which itself requires `koch installdeps libffi`, see #10150
## Note: this feature can't be localized with {.push.}
vmopsDanger,
strictFuncs,