]> jturnerusa.dev Git - emacs.d/commit
override "TMPDIR" environment variable for all cargo commands
authorJohn Turner <jturner.usa@gmail.com>
Thu, 17 Nov 2022 02:11:10 +0000 (21:11 -0500)
committerJohn Turner <jturner.usa@gmail.com>
Thu, 17 Nov 2022 02:11:10 +0000 (21:11 -0500)
commitec6c5e35fab1bfe464abcb2a24eb92cab84a699d
tree9236ebfc96ec82f4300030b238e878b591abac0f
parentf3a38c63630ed7f44e3c9bd4d0997221ec07b2e8
override "TMPDIR" environment variable for all cargo commands

Rustdoc does not respect "CARGO_TARGET_DIR" and instead uses "TMPDIR"
or /tmp. On systems that mount /tmp with "noexec" this breaks doc
tests, since they can't be executed.
dir-locals/eglot-rust-dir-locals.el