Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upAdd support for caching Rust crate compilation #42
Comments
alexcrichton
referenced this issue
Feb 8, 2017
Open
Rust should integrate easily into large build systems #12
luser
self-assigned this
Feb 17, 2017
This comment has been minimized.
This comment has been minimized.
|
I've got a pretty good start on this: https://github.com/luser/sccache/commits/rust-support |
This comment has been minimized.
This comment has been minimized.
|
I pushed some more changes to the rust-support branch and everything seems to be working for caching Rust compilation! You can try it out by building sccache from that branch, then you can either write a wrapper script that invokes |
This comment has been minimized.
This comment has been minimized.
|
I did some testing this morning, and I was not impressed with the speed of an sccache-wrapped build. I put in some more timing in the server logs and found that the bulk of the time is spent running @eddyb, after looking at the |
This comment has been minimized.
This comment has been minimized.
|
With nightly rustc containing @alexcrichton's fix to exit quickly for
|
This comment has been minimized.
This comment has been minimized.
Dushistov
commented
Mar 19, 2017
|
@luser I tried
|
This comment has been minimized.
This comment has been minimized.
|
@Dushistov thanks for the info! I'll try that out locally and see if I can reproduce. |
This comment has been minimized.
This comment has been minimized.
|
This was fixed by merging 8605d60 et. al. |
luser commentedDec 8, 2016
I outlined a plan for this in a cargo issue.
The big items here are: