summaryrefslogtreecommitdiff
path: root/dir-locals/eglot-rust-dir-locals.el
diff options
context:
space:
mode:
Diffstat (limited to 'dir-locals/eglot-rust-dir-locals.el')
-rw-r--r--dir-locals/eglot-rust-dir-locals.el3
1 files changed, 2 insertions, 1 deletions
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"))))