Skip to content

Commit

Permalink
Auto merge of #3758 - mbrubeck:docs, r=alexcrichton
Browse files Browse the repository at this point in the history
Document that OUT_DIR is set during compilation for packages with build scripts

None
  • Loading branch information
bors committed Feb 23, 2017
2 parents be0b499 + ae45399 commit b2dc77f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/doc/environment-variables.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ let version = env!("CARGO_PKG_VERSION");
* `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.
* `OUT_DIR` - If the package has a build script, this is set to the folder where the build
script should place its output. See below for more information.

# Environment variables Cargo sets for build scripts

Expand Down

0 comments on commit b2dc77f

Please sign in to comment.