Emacs lsp-mode counterpart of VS Code config rust-analyzer.cargoFeatures.loadOutDirsFromCheck

rust-analyzer support compile-time code generation in $OUT_DIR by setting "rust-analyzer.cargoFeatures.loadOutDirsFromCheck": true in VS Code, as noted in this changelog

Does that config have a counterpart for Emacs lsp-mode?

That should be (setq lsp-rust-analyzer-cargo-load-out-dirs-from-check t). One way to find this would be by looking at the source; or just searching using describe-variable in Emacs.

1 Like

Awesome! It worked, and thank you for the source link!

This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.