Commit Graph

3 Commits

Author SHA1 Message Date
Julien Calixte
12417a9be7 chore: scope rust-analyzer to the firmware crate
Pin linkedProjects so RA stops checking the new host spike crate
against the xtensa target.
2026-07-05 19:38:48 +02:00
Julien Calixte
edcae88476 chore(zed): pin rust-analyzer for firmware crate
Zed's bundled rust-analyzer calls `cargo metadata --lockfile-path`,
which is still gated behind `-Z unstable-options` on cargo 1.95.0
(both stable and the esp Xtensa fork). Workspaces fail to load with
the bundled binary.

Point lsp.rust-analyzer.binary.path at the rustup-managed
rust-analyzer (version-locked to cargo 1.95 stable, no unstable
flags). Also set cargo.target = xtensa-esp32s3-espidf with
allTargets=false so RA doesn't try to check the crate for the host
target — esp-idf-sys can't build for macOS.
2026-05-23 14:36:59 +02:00
Julien Calixte
00c1f7ced4 chore(zed): add project settings with oxc and oxfmt format-on-save 2026-05-14 13:08:09 +02:00