diff options
| author | Guillaume Gomez <guillaume.gomez@huawei.com> | 2023-12-20 15:37:45 +0100 |
|---|---|---|
| committer | Guillaume Gomez <guillaume.gomez@huawei.com> | 2023-12-20 15:37:45 +0100 |
| commit | 2679bca97aaefd76c4969fc879f510294f9976f0 (patch) | |
| tree | e4fdfb5a2af9a5f1390c810a664618e1c8c3f5fc | |
| parent | bd984ddcc18d0ff1fb35e3a2491c91cb4187d4a1 (diff) | |
| download | rust-2679bca97aaefd76c4969fc879f510294f9976f0.tar.gz rust-2679bca97aaefd76c4969fc879f510294f9976f0.zip | |
Add link to explanations about dep-info files
| -rw-r--r-- | src/doc/unstable-book/src/compiler-flags/env.md | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/doc/unstable-book/src/compiler-flags/env.md b/src/doc/unstable-book/src/compiler-flags/env.md index 56f804fcd0c..ac6d7474a9b 100644 --- a/src/doc/unstable-book/src/compiler-flags/env.md +++ b/src/doc/unstable-book/src/compiler-flags/env.md @@ -8,7 +8,8 @@ This option flag allows to specify environment variables value at compile time t used by `env!` and `option_env!` macros. It also impacts `tracked_env::var` function from the `proc_macro` crate. -This information will be stored in the dep-info files. +This information will be stored in the dep-info files. For more information about +dep-info files, take a look [here](https://doc.rust-lang.org/cargo/guide/build-cache.html#dep-info-files). When retrieving an environment variable value, the one specified by `--env` will take precedence. For example, if you want have `PATH=a` in your environment and pass: |
