Commit 2bb7f85
committed
Save names of used extern crates
Tracks association between `self.sess.opts.externs` (aliases in `--extern alias=rlib`) and resolved `CrateNum`
Intended to allow Rustdoc match the aliases in `--extern-html-root-url` #76296
Force-injected extern crates aren't included, since they're meant for the linker only1 parent e6469ae commit 2bb7f85
File tree
2 files changed
+35
-2
lines changed- compiler/rustc_metadata/src
- rmeta/decoder
2 files changed
+35
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
15 | 16 | | |
16 | 17 | | |
17 | 18 | | |
| |||
68 | 69 | | |
69 | 70 | | |
70 | 71 | | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
71 | 75 | | |
72 | 76 | | |
73 | 77 | | |
| |||
268 | 272 | | |
269 | 273 | | |
270 | 274 | | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
271 | 283 | | |
272 | 284 | | |
273 | 285 | | |
| |||
494 | 506 | | |
495 | 507 | | |
496 | 508 | | |
| 509 | + | |
497 | 510 | | |
498 | 511 | | |
499 | 512 | | |
| |||
1302 | 1315 | | |
1303 | 1316 | | |
1304 | 1317 | | |
| 1318 | + | |
1305 | 1319 | | |
1306 | 1320 | | |
1307 | 1321 | | |
| |||
1320 | 1334 | | |
1321 | 1335 | | |
1322 | 1336 | | |
| 1337 | + | |
1323 | 1338 | | |
1324 | 1339 | | |
1325 | 1340 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
630 | 630 | | |
631 | 631 | | |
632 | 632 | | |
633 | | - | |
| 633 | + | |
| 634 | + | |
| 635 | + | |
| 636 | + | |
| 637 | + | |
| 638 | + | |
| 639 | + | |
| 640 | + | |
| 641 | + | |
| 642 | + | |
| 643 | + | |
| 644 | + | |
| 645 | + | |
| 646 | + | |
| 647 | + | |
| 648 | + | |
| 649 | + | |
| 650 | + | |
| 651 | + | |
634 | 652 | | |
635 | 653 | | |
636 | 654 | | |
637 | 655 | | |
638 | 656 | | |
639 | 657 | | |
640 | | - | |
| 658 | + | |
641 | 659 | | |
642 | 660 | | |
643 | 661 | | |
| |||
0 commit comments