diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2016-09-29 19:10:29 -0700 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2016-09-30 10:49:30 -0700 |
| commit | 7724a04b0f69ac298b308e09402042410e8a928c (patch) | |
| tree | c41f65a7826d3b998383d58264244edd7c2c1e2d /src/rustllvm/RustWrapper.cpp | |
| parent | 86affcdf6c622278a89b73bb7f1b8ac00e970888 (diff) | |
| download | rust-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
