From: Ran Benita Date: Sun, 5 Feb 2017 18:53:11 +0000 (+0200) Subject: Fix the documentation for the PROFILE envvar passed to build scripts X-Git-Tag: archive/raspbian/0.35.0-2+rpi1~3^2^2^2^2^2^2^2~22^2~9^2~171^2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=fb3213f17a7c047b05b6d2df1bc967d59574548f;p=cargo.git Fix the documentation for the PROFILE envvar passed to build scripts Closes #2084. --- diff --git a/src/doc/environment-variables.md b/src/doc/environment-variables.md index 30aed822a..01ed64b22 100644 --- a/src/doc/environment-variables.md +++ b/src/doc/environment-variables.md @@ -84,8 +84,7 @@ let out_dir = env::var("OUT_DIR").unwrap(); be useful to pass a `-j` parameter to a system like `make`. * `OPT_LEVEL`, `DEBUG` - values of the corresponding variables for the profile currently being built. -* `PROFILE` - name of the profile currently being built (see - [profiles][profile]). +* `PROFILE` - `release` for release builds, `debug` for other builds. * `DEP__` - For more information about this set of environment variables, see build script documentation about [`links`][links]. * `RUSTC`, `RUSTDOC` - the compiler and documentation generator that Cargo has