rust/src/librustdoc
bors 17f1fba353 Auto merge of #38589 - aidanhs:aphs-stage0-rustdoc-test, r=alexcrichton
Teach `rustdoc --test` about `--sysroot`, pass it when testing rust

This permits rustdoc tests to work in stage0.

Logical continuation of #36586.

Snippet from https://github.com/rust-lang/rust/issues/38575#issuecomment-269090724:

> it should actually be possible to run all the libstd tests immediately after creating std of stage0-out - there's no reason to build librustc at all if you've just made a change to (for example) libcollections, `./x.py test src/libcollections --stage 0 -v --incremental` should just work

This PR makes it so (or appears to in my testing).

r? @alexcrichton
2016-12-28 07:05:07 +00:00
..
clean Refactor how global paths are represented (for both ast and hir). 2016-12-22 06:14:35 +00:00
html Auto merge of #38329 - ollie27:rustdoc_stab_em_div, r=steveklabnik 2016-12-27 21:10:31 +00:00
passes rustdoc: use libsyntax ast::Attribute instead of "cleaning" them. 2016-11-24 01:40:52 +02:00
build.rs bootstrap: Add directives to not double-link libs 2016-02-11 11:12:32 -08:00
Cargo.toml Fix rustbuild 2016-08-29 14:27:40 -04:00
core.rs rustdoc: link to cross-crate sources directly. 2016-11-30 04:48:56 +02:00
doctree.rs Don't try get local DefId of imported macro in rustdoc. 2016-12-19 14:24:33 -05:00
externalfiles.rs Remove unnecessary pub function classifier. 2016-10-09 00:17:50 -04:00
fold.rs Remove redundant 'Variant' in variant names, stop reexporting. 2016-10-02 21:58:23 -04:00
lib.rs Teach rustdoc --test about --sysroot, pass it when testing rust 2016-12-24 17:15:07 +00:00
markdown.rs Teach rustdoc --test about --sysroot, pass it when testing rust 2016-12-24 17:15:07 +00:00
plugins.rs Remove rustdocs json format 2016-04-07 06:01:55 +02:00
test.rs Teach rustdoc --test about --sysroot, pass it when testing rust 2016-12-24 17:15:07 +00:00
visit_ast.rs Rollup merge of #38418 - michaelwoerister:def_path_cleanup, r=eddyb 2016-12-20 12:59:05 -08:00
visit_lib.rs rustdoc: we can now assume DocContext always has a TyCtxt. 2016-11-24 01:40:56 +02:00