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"))))