Commit 8a0f976
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`
Force-injected extern crates aren't included, since they're meant for the linker only1 parent 671e083 commit 8a0f976
File tree
2 files changed
+20
-0
lines changed- compiler/rustc_metadata/src
- rmeta/decoder
2 files changed
+20
-0
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 | | |
| |||
69 | 70 | | |
70 | 71 | | |
71 | 72 | | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
72 | 76 | | |
73 | 77 | | |
74 | 78 | | |
| |||
249 | 253 | | |
250 | 254 | | |
251 | 255 | | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
252 | 264 | | |
253 | 265 | | |
254 | 266 | | |
| |||
475 | 487 | | |
476 | 488 | | |
477 | 489 | | |
| 490 | + | |
478 | 491 | | |
479 | 492 | | |
480 | 493 | | |
| |||
1308 | 1321 | | |
1309 | 1322 | | |
1310 | 1323 | | |
| 1324 | + | |
1311 | 1325 | | |
1312 | 1326 | | |
1313 | 1327 | | |
| |||
1332 | 1346 | | |
1333 | 1347 | | |
1334 | 1348 | | |
| 1349 | + | |
1335 | 1350 | | |
1336 | 1351 | | |
1337 | 1352 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
628 | 628 | | |
629 | 629 | | |
630 | 630 | | |
| 631 | + | |
| 632 | + | |
| 633 | + | |
631 | 634 | | |
632 | 635 | | |
633 | 636 | | |
| 637 | + | |
634 | 638 | | |
635 | 639 | | |
636 | 640 | | |
637 | 641 | | |
638 | 642 | | |
639 | 643 | | |
| 644 | + | |
640 | 645 | | |
641 | 646 | | |
642 | 647 | | |
| |||
0 commit comments