]> git.proxmox.com Git - cargo.git/commit
Allow documenting binary targets.
authorAlex Crichton <alex@alexcrichton.com>
Mon, 4 Aug 2014 14:21:31 +0000 (07:21 -0700)
committerAlex Crichton <alex@alexcrichton.com>
Mon, 4 Aug 2014 14:28:57 +0000 (07:28 -0700)
commitc64d191d20dca89cd20a9f704a7805e0316ee7ab
tree761d1f205b8730d3fa34bb29123d2e24d5b2e855
parent07b9c7028ae920981c4ef866ec9ca4a1bb9c730f
Allow documenting binary targets.

This removes the check in the compilation phase, but adds an error if you're
documenting a library and a binary with the same name (as the rustdoc output
would conflict).
src/cargo/ops/cargo_doc.rs
src/cargo/ops/cargo_rustc/mod.rs
tests/test_cargo_doc.rs