Add rustc_fluent_macro
to decouple fluent from rustc_macros
Fluent, with all the icu4x it brings in, takes quite some time to compile. `fluent_messages!` is only needed in further downstream rustc crates, but is blocking more upstream crates like `rustc_index`. By splitting it out, we allow `rustc_macros` to be compiled earlier, which speeds up `x check compiler` by about 5 seconds (and even more after the needless dependency on `serde_json` is removed from `rustc_data_structures`).
This commit is contained in:
parent
de96f3d873
commit
b5d3d970fa
81 changed files with 398 additions and 293 deletions
|
@ -18,6 +18,7 @@ rustc_const_eval = { path = "../rustc_const_eval" }
|
|||
rustc_error_messages = { path = "../rustc_error_messages" }
|
||||
rustc_expand = { path = "../rustc_expand" }
|
||||
rustc_hir_typeck = { path = "../rustc_hir_typeck" }
|
||||
rustc_fluent_macro = { path = "../rustc_fluent_macro" }
|
||||
rustc_incremental = { path = "../rustc_incremental" }
|
||||
rustc_infer = { path = "../rustc_infer" }
|
||||
rustc_mir_build = { path = "../rustc_mir_build" }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue