Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove rustc_error_codes deps except in rustc_driver #68353

Merged
merged 1 commit into from
Jan 20, 2020

Conversation

Centril
Copy link
Contributor

@Centril Centril commented Jan 18, 2020

Remove dependencies on rustc_error_codes in all crates except for rustc_driver.

This has some benefits:

  1. Adding a new error code when hacking on the compiler only requires rebuilding at most rustc_error_codes, rustc_driver, and the reflexive & transitive closure of the crate where the new error code is being added and its reverse dependencies. This improves time-to-UI-tests (TTUT).

  2. Adding an error description to an error code only requires rebuilding rustc_error_codes and rustc_driver. This should substantially improve TTUT.

r? @petrochenkov
cc @rust-lang/wg-diagnostics

@petrochenkov
Copy link
Contributor

@bors r+

@bors
Copy link
Collaborator

bors commented Jan 18, 2020

📌 Commit de6046f has been approved by petrochenkov

@bors bors added the S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. label Jan 18, 2020
This was referenced Jan 19, 2020
@bors bors merged commit de6046f into rust-lang:master Jan 20, 2020
@Centril Centril deleted the code-liberation branch January 20, 2020 09:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants