Skip to content

Commit ab78221

Browse files
committed
doc (book)[14/14]: "Cargo Guide"/"Build Cache": link terms to glossary
The following term(s) are linked to their Glossary entries: - workspace
1 parent 365b738 commit ab78221

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

src/doc/src/guide/build-cache.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
## Build cache
22

33
Cargo stores the output of a build into the "target" directory. By default,
4-
this is the directory named `target` in the root of your workspace. To change
5-
the location, you can set the `CARGO_TARGET_DIR` [environment variable], the
6-
[`build.target-dir`] config value, or the `--target-dir` command-line flag.
4+
this is the directory named `target` in the root of your
5+
[*workspace*][def-worksapce]. To change the location, you can set the
6+
`CARGO_TARGET_DIR` [environment variable], the [`build.target-dir`] config
7+
value, or the `--target-dir` command-line flag.
78

89
The directory layout depends on whether or not you are using the `--target`
910
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.
9091
[`cargo publish`]: ../commands/cargo-publish.md
9192
[build scripts]: ../reference/build-scripts.md
9293
[config]: ../reference/config.md
94+
[def-workspace]: ../appendix/glossary.md#workspace '"workspace" (glossary entry)'
9395
[environment variable]: ../reference/environment-variables.md
9496
[incremental output]: ../reference/profiles.md#incremental
9597
[sccache]: https://github.com/mozilla/sccache

0 commit comments

Comments
 (0)