summary refs log tree commit diff stats
path: root/compiler
diff options
context:
space:
mode:
authorawr1 <41453959+awr1@users.noreply.github.com>2023-08-03 14:06:30 -0700
committerGitHub <noreply@github.com>2023-08-03 23:06:30 +0200
commit14bc3f32683c87f971bf23ae30d500dc89cdebb8 (patch)
tree7c4609be532ff2dcdb71af39abd220af1ca3d931 /compiler
parent8d8d75706cddc40ff00b163ebd9aa2728afdf7ef (diff)
downloadNim-14bc3f32683c87f971bf23ae30d500dc89cdebb8.tar.gz
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>
Diffstat (limited to 'compiler')
-rw-r--r--compiler/evalffi.nim2
-rw-r--r--compiler/options.nim2
2 files changed, 2 insertions, 2 deletions
diff --git a/compiler/evalffi.nim b/compiler/evalffi.nim
index 0577619b8..0112aebb9 100644
--- a/compiler/evalffi.nim
+++ b/compiler/evalffi.nim
@@ -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"
diff --git a/compiler/options.nim b/compiler/options.nim
index 5b61cb049..5a862ca4b 100644
--- a/compiler/options.nim
+++ b/compiler/options.nim
@@ -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,