Skip to content

Commit

Permalink
Move cargo targets to a new chapter.
Browse files Browse the repository at this point in the history
  • Loading branch information
ehuss committed Dec 21, 2019
1 parent 0a5f54b commit 0f99322
Show file tree
Hide file tree
Showing 6 changed files with 381 additions and 200 deletions.
1 change: 1 addition & 0 deletions src/doc/src/SUMMARY.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
* [Cargo Reference](reference/index.md)
* [Specifying Dependencies](reference/specifying-dependencies.md)
* [The Manifest Format](reference/manifest.md)
* [Cargo Targets](reference/cargo-targets.md)
* [Profiles](reference/profiles.md)
* [Configuration](reference/config.md)
* [Environment Variables](reference/environment-variables.md)
Expand Down
4 changes: 2 additions & 2 deletions src/doc/src/appendix/glossary.md
Original file line number Diff line number Diff line change
Expand Up @@ -185,14 +185,14 @@ manifest is located.
[feature]: ../reference/manifest.md#the-features-section
[git dependency]: ../reference/specifying-dependencies.md#specifying-dependencies-from-git-repositories
[git source]: ../reference/source-replacement.md
[integration-tests]: ../reference/manifest.md#integration-tests
[integration-tests]: ../reference/cargo-targets.md#integration-tests
[manifest]: ../reference/manifest.md
[path dependency]: ../reference/specifying-dependencies.md#specifying-path-dependencies
[path overrides]: ../reference/specifying-dependencies.md#overriding-with-local-dependencies
[pkgid-spec]: ../reference/pkgid-spec.md
[rustdoc-unstable]: https://doc.rust-lang.org/nightly/rustdoc/unstable-features.html
[target-feature]: ../../reference/attributes/codegen.html#the-target_feature-attribute
[targets]: ../reference/manifest.md#configuring-a-target
[targets]: ../reference/cargo-targets.md#configuring-a-target
[unstable-book]: https://doc.rust-lang.org/nightly/unstable-book/index.html
[virtual]: ../reference/manifest.md#virtual-manifest
[workspace]: ../reference/manifest.md#the-workspace-section
4 changes: 2 additions & 2 deletions src/doc/src/guide/project-layout.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,5 +55,5 @@ See [Target auto-discovery] for more information on controlling how Cargo
automatically infers target names.

[book-modules]: ../../book/ch07-00-managing-growing-projects-with-packages-crates-and-modules.html
[Configuring a target]: ../reference/manifest.md#configuring-a-target
[Target auto-discovery]: ../reference/manifest.md#target-auto-discovery
[Configuring a target]: ../reference/cargo-targets.md#configuring-a-target
[Target auto-discovery]: ../reference/cargo-targets.md#target-auto-discovery
Loading

0 comments on commit 0f99322

Please sign in to comment.