about summary refs log tree commit diff
path: root/src/libstd/sys/unix/process/process_unix.rs
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2017-03-01 15:34:54 -0800
committerAlex Crichton <alex@alexcrichton.com>2017-03-10 13:04:49 -0800
commitf846aaf81f000b19d6f0ac5bde55f70bab47ec70 (patch)
tree8e88e9a18707d2257db162c1a3e16348ce295f8a /src/libstd/sys/unix/process/process_unix.rs
parentf573db4f80c75f156df8a743f456bf087ec81dc2 (diff)
downloadrust-f846aaf81f000b19d6f0ac5bde55f70bab47ec70.tar.gz
rust-f846aaf81f000b19d6f0ac5bde55f70bab47ec70.zip
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