From: Matt Brubeck Date: Thu, 23 Feb 2017 18:30:49 +0000 (-0800) Subject: Document that OUT_DIR is set during compilation for packages with build scripts X-Git-Tag: archive/raspbian/0.35.0-2+rpi1~3^2^2^2^2^2^2^2~22^2~9^2~131^2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=ae453991b5f30db783f931bcfa4c80e54be7ac18;p=cargo.git Document that OUT_DIR is set during compilation for packages with build scripts --- diff --git a/src/doc/environment-variables.md b/src/doc/environment-variables.md index 01ed64b22..7cb67b6c1 100644 --- a/src/doc/environment-variables.md +++ b/src/doc/environment-variables.md @@ -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