diff options
| author | est31 <MTest31@outlook.com> | 2022-09-16 23:28:02 +0200 |
|---|---|---|
| committer | est31 <MTest31@outlook.com> | 2022-09-16 23:35:00 +0200 |
| commit | 706f0f018b2e186aa9c464e0e8d7e20b0dfd324a (patch) | |
| tree | 9712dc8ae5eaf0951cb27fbc895240b8de920190 /compiler/rustc_codegen_llvm/src/errors.rs | |
| parent | 35a0407814a6b5a04f0929105631e9c69e293e9d (diff) | |
| download | rust-706f0f018b2e186aa9c464e0e8d7e20b0dfd324a.tar.gz rust-706f0f018b2e186aa9c464e0e8d7e20b0dfd324a.zip | |
Pass --cfg=bootstrap for rustdoc for proc_macro crates
This commit does three things: * First, it passes --cfg=bootstrap on stage 0 for rustdoc invocations on proc_macro crates. This mirrors what we do already for rustc invocations of those, and is needed because cargo doesn't respect RUSTFLAGS or RUSTDOCFLAGS when confronted with a proc macro. * Second, it marks the bootstrap config variable as expected. This is needed both on later stages where it's not set, but also on stage 0, where it is set. * Third, it adjusts the comment in the rustc wrapper to better reflect the reason why we set the bootstrap variable as expected: due to recent changes, setting it as expected is also required even if the cfg variable is passed: ebf4cc361e0d0f11a25b42372bd629953365d17e .
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/errors.rs')
0 files changed, 0 insertions, 0 deletions
