]> git.proxmox.com Git - cargo.git/commit
Check target-dependant doc folders
authorCPerezz <c.perezbaro@gmail.com>
Sun, 31 Jan 2021 22:43:27 +0000 (23:43 +0100)
committerCPerezz <c.perezbaro@gmail.com>
Sun, 31 Jan 2021 22:43:27 +0000 (23:43 +0100)
commit7c450213286e491cb8809606e78159e0470135fc
treecb52e6cdcf8f0cfbdf41ad24334e59c6f7e03dd8
parentd2572a2800bead998a86cd8409385094f697f35e
Check target-dependant doc folders

When checking the fingerprint for rustdoc and applying
the corresponding logic, we don't only need to consider
the `target/doc` folder (Host target) but also triple targets.

So now the actual compilation targets are checked during the
rustdoc_fingerprint processing and they're treated as the Host/doc
folder.
src/cargo/core/compiler/build_context/target_info.rs
tests/testsuite/doc.rs