feat: generate rust-project.json for LSP

Add a CMake module that writes rust-project.json on every configure so
rust-analyzer can resolve the no-Cargo crate layout, sysroot crates,
and proc-macro attributes without Cargo.

Co-Authored-By: qwen (lmstudio/qwen3.8-27b@q3_k_xl): LSP setup
This commit is contained in:
2026-09-05 05:29:23 +02:00
parent c3a7680e36
commit d5728334d6
5 changed files with 82 additions and 0 deletions
+1
View File
@@ -2,3 +2,4 @@
/target
.env
/build
/rust-project.json