Skip to content

Commit

Permalink
docs: add missing CARGO_MAKEFLAGS env for plugins
Browse files Browse the repository at this point in the history
This was done in <rust-lang#10511>.
  • Loading branch information
weihanglo authored and bend-n committed May 7, 2024
1 parent 27ab1e3 commit fdeea3d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/doc/src/reference/environment-variables.md
Original file line number Diff line number Diff line change
Expand Up @@ -416,5 +416,8 @@ Cargo exposes this environment variable to 3rd party subcommands
(ie. programs named `cargo-foobar` placed in `$PATH`):

* `CARGO` --- Path to the `cargo` binary performing the build.
* `CARGO_MAKEFLAGS` --- Contains parameters needed for Cargo's [jobserver]
implementation to parallelize subprocesses.
This is set only when Cargo detects the existence of a jobserver.

For extended information about your environment you may run `cargo metadata`.

0 comments on commit fdeea3d

Please sign in to comment.