nim-ffi/config.nims
2026-05-19 12:43:34 +02:00

8 lines
289 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)
when withDir(thisDir(), system.fileExists("nimble.paths")):
include "nimble.paths"
# end Nimble config