]> git.lizzy.rs Git - rust.git/commitdiff
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)
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

1  2 
src/bootstrap/step.rs
src/librustc/session/config.rs

Simple merge
Simple merge