Fast file search. Used by the search_codebase tool and the TUI to generate filepath / code autocompletions.
Source: https://github.com/dmtrKovalenko/fff
Nova vendors the generated C header at vendor/fff/fff.h, but does not commit the platform-specific dynamic library. Build it from a gitignored checkout of fff.
git clone --depth 1 https://github.com/dmtrKovalenko/fff third_party/fff
cd third_party/fff
make build-c-libThe Nova runtime looks for the library in this order:
- macOS:
vendor/fff/libfff_c.dylib,third_party/fff/target/release/libfff_c.dylib, thenlibfff_c.dylibon the loader path. - Linux:
vendor/fff/libfff_c.so,third_party/fff/target/release/libfff_c.so, thenlibfff_c.soon the loader path. - Windows:
vendor\\fff\\fff_c.dll,third_party\\fff\\target\\release\\fff_c.dll, thenfff_c.dllon the loader path.
Regenerate fff.h from the FFF repository when the C ABI changes:
cd third_party/fff
make header
cp crates/fff-c/include/fff.h ../../vendor/fff/fff.h