Commit c250419
authored
Rollup merge of #71458 - ecstatic-morse:bootstrap-cfg-doc, r=Mark-Simulacrum
Set `--cfg bootstrap` for stage0 rustdoc
Resolves #71455.
With this patch, running `./x.py doc --stage 0 src/libstd` with a clean `build` dir successfully outputs docs for `core`, `alloc` and `std` in under a minute. This kind of turnaround for viewing small changes to the standard library documentation is quite nice, and I think we should endeavour to keep it working. I'm not sure how involved that would be though.
r? @Mark-Simulacrum1 file changed
+9
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
791 | 791 | | |
792 | 792 | | |
793 | 793 | | |
| 794 | + | |
| 795 | + | |
| 796 | + | |
| 797 | + | |
| 798 | + | |
794 | 799 | | |
795 | 800 | | |
796 | 801 | | |
| |||
1269 | 1274 | | |
1270 | 1275 | | |
1271 | 1276 | | |
1272 | | - | |
| 1277 | + | |
1273 | 1278 | | |
1274 | 1279 | | |
1275 | 1280 | | |
| |||
1327 | 1332 | | |
1328 | 1333 | | |
1329 | 1334 | | |
1330 | | - | |
| 1335 | + | |
1331 | 1336 | | |
1332 | 1337 | | |
1333 | 1338 | | |
| |||
1367 | 1372 | | |
1368 | 1373 | | |
1369 | 1374 | | |
| 1375 | + | |
1370 | 1376 | | |
1371 | 1377 | | |
1372 | 1378 | | |
| |||
1400 | 1406 | | |
1401 | 1407 | | |
1402 | 1408 | | |
| 1409 | + | |
1403 | 1410 | | |
1404 | 1411 | | |
1405 | 1412 | | |
0 commit comments