diff options
author | John Turner <jturner.usa@gmail.com> | 2023-04-01 23:24:39 -0400 |
---|---|---|
committer | John Turner <jturner.usa@gmail.com> | 2023-04-01 23:24:39 -0400 |
commit | c05e33817867659823f7b46466136972e2fe6697 (patch) | |
tree | 3cee9511fe1aa5f27fb65ca3667624c688cd304f | |
parent | fc8686d3c8773c409cde247c7e611f5b2b4b947b (diff) | |
download | emacs.d-c05e33817867659823f7b46466136972e2fe6697.tar.gz |
use "env" to set env vars in rust-cargo-bin
-rw-r--r-- | dir-locals/eglot-rust-dir-locals.el | 2 |
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")))) |