summaryrefslogtreecommitdiff
path: root/dir-locals
diff options
context:
space:
mode:
authorJohn Turner <jturner.usa@gmail.com>2023-04-01 23:24:39 -0400
committerJohn Turner <jturner.usa@gmail.com>2023-04-01 23:24:39 -0400
commitc05e33817867659823f7b46466136972e2fe6697 (patch)
tree3cee9511fe1aa5f27fb65ca3667624c688cd304f /dir-locals
parentfc8686d3c8773c409cde247c7e611f5b2b4b947b (diff)
downloademacs.d-c05e33817867659823f7b46466136972e2fe6697.tar.gz
use "env" to set env vars in rust-cargo-bin
Diffstat (limited to 'dir-locals')
-rw-r--r--dir-locals/eglot-rust-dir-locals.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/dir-locals/eglot-rust-dir-locals.el b/dir-locals/eglot-rust-dir-locals.el
index 68be387..50471a4 100644
--- a/dir-locals/eglot-rust-dir-locals.el
+++ b/dir-locals/eglot-rust-dir-locals.el
@@ -13,4 +13,4 @@
(:command "clippy")))))
(rust-format-on-save . t)
(rust-rustfmt-switches . ("--edition" "2021"))))
- (nil . ((rust-cargo-bin . "TMPDIR=~/tmp cargo"))))
+ (nil . ((rust-cargo-bin . "env TMPDIR=~/tmp cargo"))))