Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 7 additions & 6 deletions src/doc/src/appendix/glossary.md
Original file line number Diff line number Diff line change
Expand Up @@ -188,12 +188,12 @@ The meaning of the term *target* depends on the context:
[list of targets][targets] are configured in the `Cargo.toml`
[*manifest*](#manifest), often inferred automatically by the [directory
layout] of the source files.
- **Target Directory** --- Cargo places all built artifacts and intermediate
files in the *target* directory. By default this is a directory named
`target` at the [*workspace*](#workspace) root, or the package root if not
using a workspace. The directory may be changed with the `--target-dir`
command-line option, the `CARGO_TARGET_DIR` [environment variable], or the
`build.target-dir` [config option].
- **Target Directory** --- Cargo places built artifacts in the *target* directory.
By default this is a directory named `target` at the [*workspace*](#workspace) root,
or the package root if not using a workspace. The directory may be changed with
the `--target-dir` command-line option, the `CARGO_TARGET_DIR` [environment variable],
or the `build.target-dir` [config option].
For more information see the [build cache] documentation.
Comment on lines +191 to +196
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Given this is a glossary entry for "target" I did not explicitly mention build-dir, but linked back to the build cache docs

- **Target Architecture** --- The OS and machine architecture for the built
artifacts are typically referred to as a *target*.
- **Target Triple** --- A triple is a specific format for specifying a target
Expand Down Expand Up @@ -251,6 +251,7 @@ manifest is located. (Compare with [*package root*](#package).)
[Directory Sources]: ../reference/source-replacement.md#directory-sources
[Local Registry Sources]: ../reference/source-replacement.md#local-registry-sources
[Source Replacement]: ../reference/source-replacement.md
[build cache]: ../reference/build-cache.html
[cargo-unstable]: ../reference/unstable.md
[config option]: ../reference/config.md
[crates.io]: https://crates.io/
Expand Down
6 changes: 3 additions & 3 deletions src/doc/src/reference/build-cache.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,9 @@ change. Some of these directories are:

Directory | Description
----------|------------
<code style="white-space: nowrap">build-dir/debug/deps/</code> | Dependencies and other artifacts.
<code style="white-space: nowrap">build-dir/debug/incremental/</code> | `rustc` [incremental output], a cache used to speed up subsequent builds.
<code style="white-space: nowrap">build-dir/debug/build/</code> | Output from [build scripts].
<code style="white-space: nowrap">\<build-dir>/debug/deps/</code> | Dependencies and other artifacts.
<code style="white-space: nowrap">\<build-dir>/debug/incremental/</code> | `rustc` [incremental output], a cache used to speed up subsequent builds.
<code style="white-space: nowrap">\<build-dir>/debug/build/</code> | Output from [build scripts].
Comment on lines +73 to +75
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Double checked and this renders correctly in mdbook and github

image


## Dep-info files

Expand Down
Loading