Fixed
- The
embeddings-free build compiles again — unblocks FreeBSD and other
non-tier-1 ports (#586). The defaultembeddingsfeature pullsort(ONNX
Runtime), whoseload-dynamicdylib resolver only ships a default library name
for windows/linux/android/macos/ios; on FreeBSD thatmatchis non-exhaustive
and the build fails insideortitself. lean-ctx already intends to build
without ORT (run_inferencehas anot(embeddings)stub), but the
ort_environment/ort_execution_providersmodules and twoembeddings
helpers (embed_batch's rayon import,run_inference_batch) were not
feature-gated, so--no-default-features— the configuration such ports must
use — also failed to compile. Those are now gated, and abuild-minimalCI
job (cargo check --no-default-features) guards the configuration so it can
never silently regress. Semantic search / embeddings stay unavailable on
targets ORT does not support, but the rest of lean-ctx builds and runs.
Upgrade
lean-ctx update # recommended (auto-downloads + refreshes shell hooks)
cargo install lean-ctx # or
npm update -g lean-ctx-bin # or
brew upgrade lean-ctxNote: After upgrading via cargo/npm/brew, run
lean-ctx setupto refresh shell aliases.lean-ctx updatedoes this automatically.
Full Changelog: v3.8.15...v3.8.15