Skip to content

Commit b2dc77f

Browse files
committed
Auto merge of #3758 - mbrubeck:docs, r=alexcrichton
Document that OUT_DIR is set during compilation for packages with build scripts None
2 parents be0b499 + ae45399 commit b2dc77f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/doc/environment-variables.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,8 @@ let version = env!("CARGO_PKG_VERSION");
4949
* `CARGO_PKG_NAME` - The name of your package.
5050
* `CARGO_PKG_DESCRIPTION` - The description of your package.
5151
* `CARGO_PKG_HOMEPAGE` - The home page of your package.
52+
* `OUT_DIR` - If the package has a build script, this is set to the folder where the build
53+
script should place its output. See below for more information.
5254

5355
# Environment variables Cargo sets for build scripts
5456

0 commit comments

Comments
 (0)