Skip to content

Commit

Permalink
Auto merge of #2562 - smaximov:doc-add-env-vars, r=alexcrichton
Browse files Browse the repository at this point in the history
Document env vars introduced in PR #2523 to the docs

Document environment variables introduced in #2523 (`CARGO_PKG_NAME`, `CARGO_PKG_DESCRIPTION`, `CARGO_PKG_HOMEPAGE`).
  • Loading branch information
bors committed Apr 12, 2016
2 parents 4e1ffb1 + 2ef6fcb commit 88e3081
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/doc/environment-variables.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,9 @@ let version = env!("CARGO_PKG_VERSION");
* `CARGO_PKG_VERSION_PATCH` - The patch version of your package.
* `CARGO_PKG_VERSION_PRE` - The pre-release version of your package.
* `CARGO_PKG_AUTHORS` - Colon seperated list of authors from the manifest of your package.
* `CARGO_PKG_NAME` - The name of your package.
* `CARGO_PKG_DESCRIPTION` - The description of your package.
* `CARGO_PKG_HOMEPAGE` - The home page of your package.

# Environment variables Cargo sets for build scripts

Expand Down

0 comments on commit 88e3081

Please sign in to comment.