]> git.proxmox.com Git - cargo.git/commitdiff
Document RUSTFMT env var behaviour
authorJonathan Li <30177086+MonliH@users.noreply.github.com>
Sat, 10 Oct 2020 15:58:15 +0000 (11:58 -0400)
committerJonathan Li <30177086+MonliH@users.noreply.github.com>
Sat, 10 Oct 2020 15:58:15 +0000 (11:58 -0400)
src/doc/src/reference/environment-variables.md

index a630a5f58a554615f665e6981ea825ae57adc6d3..135e4d08981e268c7954427804c617c7b4d71fe6 100644 (file)
@@ -49,6 +49,8 @@ system:
 * `TERM` — If this is set to `dumb`, it disables the progress bar.
 * `BROWSER` — The web browser to execute to open documentation with [`cargo
   doc`]'s' `--open` flag.
+* `RUSTFMT` — Instead of running `rustfmt`, Cargo will execute this specified
+  `rustfmt` instance instead.
 
 #### Configuration environment variables