about summary refs log tree commit diff
path: root/src/libstd/sys/unix/process/process_unix.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2017-03-11 11:42:09 +0000
committerbors <bors@rust-lang.org>2017-03-11 11:42:09 +0000
commit5d0be0d72a8fe87c1a038f014beb7f64ba249b29 (patch)
treed2f0b2a183c9e18995c6aa408ea8aee5bfd46fe5 /src/libstd/sys/unix/process/process_unix.rs
parent8c72b7651f231f589bc81d78fb9602d5a0899213 (diff)
parentf846aaf81f000b19d6f0ac5bde55f70bab47ec70 (diff)
downloadrust-5d0be0d72a8fe87c1a038f014beb7f64ba249b29.tar.gz
rust-5d0be0d72a8fe87c1a038f014beb7f64ba249b29.zip
Auto merge of #40199 - alexcrichton:doc-proc-macro, r=brson
rustbuild: Build documentation for `proc_macro`

This commit fixes #38749 by building documentation for the `proc_macro` crate by
default for configured hosts. Unfortunately did not turn out to be a trivial
fix. Currently rustbuild generates documentation into multiple locations: one
for std, one for test, and one for rustc. The initial fix for this issue simply
actually executed `cargo doc -p proc_macro` which was otherwise completely
elided before.

Unfortunately rustbuild was the left to merge two documentation trees together.
One for the standard library and one for the rustc tree (which only had docs for
the `proc_macro` crate). Rustdoc itself knows how to merge documentation files
(specifically around search indexes, etc) but rustbuild was unaware of this, so
an initial fix ended up destroying the sidebar and the search bar from the
libstd docs.

To solve this issue the method of documentation has been tweaked slightly in
rustbuild. The build system will not use symlinks (or directory junctions on
Windows) to generate all documentation into the same location initially. This'll
rely on rustdoc's logic to weave together all the output and ensure that it ends
up all consistent.

Closes #38749
Diffstat (limited to 'src/libstd/sys/unix/process/process_unix.rs')
0 files changed, 0 insertions, 0 deletions