Skip to content

Don't cache Rust compiles with incremental compilation. Fixes #257 - #259

Merged
luser merged 2 commits into
mozilla:masterfrom
luser:no-cache-rustc-incremental
Jul 11, 2018
Merged

luser merged 2 commits into
mozilla:masterfrom
luser:no-cache-rustc-incremental

Conversation

@luser

@luser luser commented Jul 3, 2018

Copy link
Copy Markdown
Contributor

rustc's incremental compilation mode isn't well-handled by sccache currently
because we don't cache the separate artifacts it creates. Additionally,
if there are existing incremental artifacts it's likely that rustc will do
a better job than sccache anyway, so don't bother trying to cache Rust
compilation when incremental compilation is enabled for now.

Longer-term we would like to make sccache and rustc incremental work
together nicely: #236

luser added 2 commits July 3, 2018 08:02
…#257

rustc's incremental compilation mode isn't well-handled by sccache currently
because we don't cache the separate artifacts it creates. Additionally,
if there are existing incremental artifacts it's likely that rustc will do
a better job than sccache anyway, so don't bother trying to cache Rust
compilation when incremental compilation is enabled for now.

Longer-term we would like to make sccache and rustc incremental work
together nicely: mozilla#236
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.

1 participant