Commit 0495db5
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 4820c40 commit 0495db5
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 | | |
| |||
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 | |
|---|---|---|---|
| |||
631 | 631 | | |
632 | 632 | | |
633 | 633 | | |
| 634 | + | |
| 635 | + | |
| 636 | + | |
634 | 637 | | |
635 | 638 | | |
636 | 639 | | |
| 640 | + | |
637 | 641 | | |
638 | 642 | | |
639 | 643 | | |
640 | 644 | | |
641 | 645 | | |
642 | 646 | | |
| 647 | + | |
643 | 648 | | |
644 | 649 | | |
645 | 650 | | |
| |||
0 commit comments