]> git.proxmox.com Git - cargo.git/commit - src/doc/src/commands/cargo-doc.md
Auto merge of #10401 - ehuss:target-dep-doc-fix, r=alexcrichton
authorbors <bors@rust-lang.org>
Tue, 22 Feb 2022 18:36:30 +0000 (18:36 +0000)
committerbors <bors@rust-lang.org>
Tue, 22 Feb 2022 18:36:30 +0000 (18:36 +0000)
commite46a9ec29fd850c4a3f2912ddb98684155cbaf44
tree1bbd8257b87e4059cdd536cbcd09cb5bf2785479
parentc974e3528c9a81bc900a23114302538de293f2be
parentf54ecdb93eafa943d7bc00f5e6815ae89b92f44c
Auto merge of #10401 - ehuss:target-dep-doc-fix, r=alexcrichton

Remove invalid target-specific dependency example.

The example with disjoint target configs does not work (and AFAIK has never worked).  It fails with the error:

```
  Dependency 'native' has different source paths depending on the build target. Each dependency must have a single canonical source path irrespective of build target.
```

This removes it to avoid confusion.

cc #7753