about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2016-09-29 19:10:29 -0700
committerAlex Crichton <alex@alexcrichton.com>2016-09-30 10:49:30 -0700
commit7724a04b0f69ac298b308e09402042410e8a928c (patch)
treec41f65a7826d3b998383d58264244edd7c2c1e2d /src/rustllvm/RustWrapper.cpp
parent86affcdf6c622278a89b73bb7f1b8ac00e970888 (diff)
downloadrust-7724a04b0f69ac298b308e09402042410e8a928c.tar.gz
rust-7724a04b0f69ac298b308e09402042410e8a928c.zip
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
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions