diff --git a/dir-locals/eglot-rust-dir-locals.el b/dir-locals/eglot-rust-dir-locals.el index 9fff9e8..5f7d0c6 100644 --- a/dir-locals/eglot-rust-dir-locals.el +++ b/dir-locals/eglot-rust-dir-locals.el @@ -3,4 +3,5 @@ (:command "clippy"))))) (rust-format-on-save . t) (rust-format-goto-problem . t) - (rust-rustfmt-switches . ("--edition" "2021"))))) + (rust-rustfmt-switches . ("--edition" "2021")))) + (nil . ((rust-cargo-bin . "TMPDIR=~/tmp cargo"))))