nim-ffi/config.nims
2026-05-20 14:14:42 -03:00

9 lines
304 B
Nim

# Make the project root importable so test/example code can write
# `import ffi/alloc` instead of `import ../../ffi/alloc`.
switch("path", thisDir())
# begin Nimble config (version 2)
--noNimblePath
when withDir(thisDir(), system.fileExists("nimble.paths")):
include "nimble.paths"
# end Nimble config