From ab7822166f808d818eff6383177b890dd52e8328 Mon Sep 17 00:00:00 2001 From: "Alan D. Salewski" Date: Sat, 21 Nov 2020 14:59:40 -0500 Subject: [PATCH] doc (book)[14/14]: "Cargo Guide"/"Build Cache": link terms to glossary The following term(s) are linked to their Glossary entries: - workspace --- src/doc/src/guide/build-cache.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/doc/src/guide/build-cache.md b/src/doc/src/guide/build-cache.md index 013dd5136c5..e86d0ebb6c6 100644 --- a/src/doc/src/guide/build-cache.md +++ b/src/doc/src/guide/build-cache.md @@ -1,9 +1,10 @@ ## Build cache Cargo stores the output of a build into the "target" directory. By default, -this is the directory named `target` in the root of your workspace. To change -the location, you can set the `CARGO_TARGET_DIR` [environment variable], the -[`build.target-dir`] config value, or the `--target-dir` command-line flag. +this is the directory named `target` in the root of your +[*workspace*][def-worksapce]. To change the location, you can set the +`CARGO_TARGET_DIR` [environment variable], the [`build.target-dir`] config +value, or the `--target-dir` command-line flag. The directory layout depends on whether or not you are using the `--target` flag to build for a specific platform. If `--target` is not specified, Cargo @@ -90,6 +91,7 @@ configuration][config]. Refer to sccache documentation for more details. [`cargo publish`]: ../commands/cargo-publish.md [build scripts]: ../reference/build-scripts.md [config]: ../reference/config.md +[def-workspace]: ../appendix/glossary.md#workspace '"workspace" (glossary entry)' [environment variable]: ../reference/environment-variables.md [incremental output]: ../reference/profiles.md#incremental [sccache]: https://github.com/mozilla/sccache