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

[Merged by Bors] - chore: remove superfluous imports from runLinter #1322

Closed
wants to merge 1 commit into from

Conversation

digama0
Copy link
Member

@digama0 digama0 commented Jan 4, 2023

Mathlib.Data.Array.Defs is currently an empty file, because its contents have been upstreamed to Std, but it had import Std in it which means that building the linter requires compiling all of Std, which is not necessary. This is especially obvious now that builds are being cached since the only part that is not cached is the compilation of the C files.

@gebner
Copy link
Member

gebner commented Jan 4, 2023

bors r+

@github-actions github-actions bot added the ready-to-merge This PR has been sent to bors. label Jan 4, 2023
bors bot pushed a commit that referenced this pull request Jan 4, 2023
`Mathlib.Data.Array.Defs` is currently an empty file, because its contents have been upstreamed to Std, but it had `import Std` in it which means that building the linter requires compiling all of `Std`, which is not necessary. This is especially obvious now that builds are being cached since the only part that is not cached is the compilation of the C files.
@bors
Copy link

bors bot commented Jan 4, 2023

Pull request successfully merged into master.

Build succeeded:

@bors bors bot changed the title chore: remove superfluous imports from runLinter [Merged by Bors] - chore: remove superfluous imports from runLinter Jan 4, 2023
@bors bors bot closed this Jan 4, 2023
@bors bors bot deleted the reduce_import_runLinter branch January 4, 2023 02:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready-to-merge This PR has been sent to bors.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants