]> git.lizzy.rs Git - rust.git/commit
Auto merge of #36847 - alexcrichton:rustc-macro-doc, r=nrc
authorbors <bors@rust-lang.org>
Mon, 3 Oct 2016 14:40:22 +0000 (07:40 -0700)
committerGitHub <noreply@github.com>
Mon, 3 Oct 2016 14:40:22 +0000 (07:40 -0700)
commitff713464e6530fab2e13d0965929d8189c59ae56
tree4f83be3022732bcd2663d5dd74274c7b8a73ea50
parent75df685d28947ea7d2422a24f14aa1254da1aeb4
parent7724a04b0f69ac298b308e09402042410e8a928c
Auto merge of #36847 - alexcrichton:rustc-macro-doc, r=nrc

rustdoc: Fix documenting rustc-macro crates

This commit adds a "hack" to the session to track whether we're a rustdoc
session or not. If we're rustdoc then we skip the expansion to add the
rustc-macro infrastructure.

Closes #36820
src/bootstrap/step.rs
src/librustc/session/config.rs