Skip to content

Apply new fingerprinting to build dir outputs#3310

Merged
bors merged 2 commits into
rust-lang:masterfrom
alexcrichton:more-metadata-hashing
Dec 2, 2016
Merged

Apply new fingerprinting to build dir outputs#3310
bors merged 2 commits into
rust-lang:masterfrom
alexcrichton:more-metadata-hashing

Conversation

@alexcrichton

Copy link
Copy Markdown
Member

We now much more aggressively cache the output of the compiler based on feature
sets and profile configuration. Unfortunately we forgot to extend this caching
to build script output directories as well so this commit ensures that build
script outputs are cached the same way with a directory per configuration of
features and output settings.

Closes #3302

@rust-highfive

Copy link
Copy Markdown

r? @brson

(rust_highfive has picked a reviewer for you, use r? to override)

Remove generation all the way in manifest-parsing and defer it until we actually
need it during compilation. Additionally remove lots of weird logic that's no
longer necessary that we're hashing quite a few fields.
We now much more aggressively cache the output of the compiler based on feature
sets and profile configuration. Unfortunately we forgot to extend this caching
to build script output directories as well so this commit ensures that build
script outputs are cached the same way with a directory per configuration of
features and output settings.

Closes rust-lang#3302
@brson

brson commented Dec 1, 2016

Copy link
Copy Markdown
Contributor

@bors r+

@bors

bors commented Dec 1, 2016

Copy link
Copy Markdown
Contributor

📌 Commit 41579ba has been approved by brson

@bors

bors commented Dec 2, 2016

Copy link
Copy Markdown
Contributor

⌛ Testing commit 41579ba with merge c82fd7f...

bors added a commit that referenced this pull request Dec 2, 2016
Apply new fingerprinting to build dir outputs

We now much more aggressively cache the output of the compiler based on feature
sets and profile configuration. Unfortunately we forgot to extend this caching
to build script output directories as well so this commit ensures that build
script outputs are cached the same way with a directory per configuration of
features and output settings.

Closes #3302
@bors

bors commented Dec 2, 2016

Copy link
Copy Markdown
Contributor

☀️ Test successful - status-appveyor, status-travis
Approved by: brson
Pushing c82fd7f to master...

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.

different feature sets use the same output directory ($OUT_DIR)

5 participants