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

Only compile user-modifiable projects incrementally. #4065

Merged
merged 1 commit into from
May 17, 2017

Conversation

michaelwoerister
Copy link
Member

Fixes #3972. Thanks for pointing me to the correct implementation, Alex!

r? @alexcrichton

@rust-highfive
Copy link

Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @alexcrichton (or someone else) soon.

If any changes to this PR are deemed necessary, please add them as extra commits. This ensures that the reviewer can see what has changed since they last reviewed the code. Due to the way GitHub handles out-of-date commits, this should also make it reasonably obvious what issues have or haven't been addressed. Large or tricky changes may require several passes of review and changes.

Please see the contribution instructions for more information.

@alexcrichton
Copy link
Member

@bors: r+

@bors
Copy link
Contributor

bors commented May 17, 2017

📌 Commit 9e824c3 has been approved by alexcrichton

@bors
Copy link
Contributor

bors commented May 17, 2017

⌛ Testing commit 9e824c3 with merge 2233f51...

bors added a commit that referenced this pull request May 17, 2017
…lexcrichton

Only compile user-modifiable projects incrementally.

Fixes #3972. Thanks for pointing me to the correct implementation, Alex!

r? @alexcrichton
@bors
Copy link
Contributor

bors commented May 17, 2017

☀️ Test successful - status-appveyor, status-travis
Approved by: alexcrichton
Pushing 2233f51 to master...

@bors bors merged commit 9e824c3 into rust-lang:master May 17, 2017
SimonSapin added a commit to servo/servo that referenced this pull request May 18, 2017
… which includes rust-lang/cargo#4065

Compile time from `mach clean` on 4 cores / 8 thread improved by 4%.
SimonSapin added a commit to servo/servo that referenced this pull request May 18, 2017
… which includes rust-lang/cargo#4065

Compile time from `mach clean` on 4 cores / 8 threads
with incremental compilation improved by 4%.
nox added a commit to nox/servo that referenced this pull request May 23, 2017
Update to cargo 0.20.0-nightly (2233f51 2017-05-17)

… which includes rust-lang/cargo#4065

Compile time from `mach clean` on 4 cores / 8 thread with incremental compilation improved by 4%.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/16932)
<!-- Reviewable:end -->
@KalitaAlexey
Copy link
Contributor

Will it use incremental compilation for dependencies defined with path? path = ../lib

@michaelwoerister
Copy link
Member Author

Yes, I think so.

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.

CARGO_INCREMENTAL: Cargo should only compile crates incrementally that can be changed by the user
6 participants