Skip to content

Add rustc_fluent_macro to decouple fluent from rustc_macros#110407

Merged
bors merged 1 commit intorust-lang:masterfrom
Noratrieb:fluent-macro
Apr 19, 2023
Merged

Add rustc_fluent_macro to decouple fluent from rustc_macros#110407
bors merged 1 commit intorust-lang:masterfrom
Noratrieb:fluent-macro

Conversation

@Noratrieb
Copy link
Member

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).

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-query-system Area: The rustc query system (https://rustc-dev-guide.rust-lang.org/query.html) A-translation Area: Translation infrastructure, and migrating existing diagnostics to SessionDiagnostic merged-by-bors This PR was explicitly merged by bors. S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants