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

Reduce initial compile time #106

Merged
merged 5 commits into from
Apr 19, 2019
Merged

Reduce initial compile time #106

merged 5 commits into from
Apr 19, 2019

Conversation

lqd
Copy link
Member

@lqd lqd commented Apr 19, 2019

This has a few tiny cleanups:

  • updates the lockfile to match the latest polonius-engine release
  • removes "unused" dependencies (in polonius rather than polonius-engine)
  • moves polonius-parser to dev-dependencies as it's only used in tests
  • removes an unused function

This reduces "initial" compile times for me (after cloning, or after a cargo clean) like so:

  • cargo check takes 1/5th of the time
  • building takes 1/3rd of the time

r? @nikomatsakis

lqd added 5 commits April 19, 2019 16:14
The `polonius` crate doesn't use `datafrog ` directly, `polonius-engine` does.
It's only used in tests, and doesn't need to be built to use the `polonius` bin.
@nikomatsakis nikomatsakis merged commit e6dc855 into rust-lang:master Apr 19, 2019
@lqd lqd deleted the cleanups branch April 19, 2019 19:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants