File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 49
49
// Needed for rustdoc from bootstrap (with `-Znormalize-docs`).
50
50
#![ recursion_limit = "256" ]
51
51
52
- extern crate either; // the one from rustc
52
+ // Some "regular" crates we want to share with rustc
53
+ extern crate either;
54
+ #[ macro_use]
55
+ extern crate tracing;
53
56
54
57
extern crate rustc_apfloat;
55
58
extern crate rustc_ast;
@@ -63,11 +66,8 @@ extern crate rustc_middle;
63
66
extern crate rustc_session;
64
67
extern crate rustc_span;
65
68
extern crate rustc_target;
66
- #[ macro_use]
67
- extern crate tracing;
68
-
69
- // Necessary to pull in object code as the rest of the rustc crates are shipped only as rmeta
70
- // files.
69
+ // Linking `rustc_driver` pulls in the required object code as the rest of the rustc crates are
70
+ // shipped only as rmeta files.
71
71
#[ allow( unused_extern_crates) ]
72
72
extern crate rustc_driver;
73
73
You can’t perform that action at this time.
0 commit comments