From c05e33817867659823f7b46466136972e2fe6697 Mon Sep 17 00:00:00 2001 From: John Turner Date: Sat, 1 Apr 2023 23:24:39 -0400 Subject: [PATCH] use "env" to set env vars in rust-cargo-bin --- dir-locals/eglot-rust-dir-locals.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"))))