Commit 103a8d5
ci: split docs job to skip llvm19-feature crates with --all-features
`--all-features` on the docs job activates `cuda_builder/llvm19`, which now
propagates `rustc_codegen_nvvm/llvm19` (added in ebfe81b for feature-graph
consistency). That forces the dep build of `rustc_codegen_nvvm` onto the LLVM
19 path, which fails in CI because no LLVM 19 toolchain is installed.
Run docs in two passes: `--all-features` over the workspace minus the three
crates that gate behind `llvm19`, then default-features over those three.
This restores green CI on the LLVM 7 path the existing images support.
Known gap: `cfg(feature = "llvm19")` code paths inside those three crates
aren't rustdoc-checked. Closing that gap properly needs LLVM 19 in the CI
images and is left as a follow-up.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 6a0bf22 commit 103a8d5
2 files changed
Lines changed: 17 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
152 | 152 | | |
153 | 153 | | |
154 | 154 | | |
155 | | - | |
156 | | - | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
157 | 160 | | |
158 | 161 | | |
159 | 162 | | |
160 | 163 | | |
161 | 164 | | |
162 | | - | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
163 | 168 | | |
164 | 169 | | |
165 | 170 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
123 | 123 | | |
124 | 124 | | |
125 | 125 | | |
126 | | - | |
127 | | - | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
128 | 131 | | |
129 | 132 | | |
130 | 133 | | |
131 | 134 | | |
132 | 135 | | |
133 | | - | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
134 | 140 | | |
135 | 141 | | |
136 | 142 | | |
| |||
0 commit comments