We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e8adba9 commit f5e6987Copy full SHA for f5e6987
src/doc/src/reference/environment-variables.md
@@ -355,6 +355,9 @@ let out_dir = env::var("OUT_DIR").unwrap();
355
* `CARGO_CFG_TARGET_FEATURE=mmx,sse` --- List of CPU [target features] enabled.
356
> Note that different [target triples][Target Triple] have different sets of `cfg` values,
357
> hence variables present in one target triple might not be available in the other.
358
+ >
359
+ > Some cfg values like `debug_assertions`, `test`, and Cargo features like
360
+ > `feature="foo"` are not available.
361
* `OUT_DIR` --- the folder in which all output and intermediate artifacts should
362
be placed. This folder is inside the build directory for the package being built,
363
and it is unique for the package in question.
0 commit comments