From: John Turner Date: Sun, 2 Apr 2023 03:24:39 +0000 (-0400) Subject: use "env" to set env vars in rust-cargo-bin X-Git-Url: https://jturnerusa.dev/gitweb/?a=commitdiff_plain;h=c05e33817867659823f7b46466136972e2fe6697;p=emacs.d use "env" to set env vars in rust-cargo-bin --- 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"))))