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

One hard cs problem #5389

Merged
merged 3 commits into from
Apr 18, 2018
Merged

One hard cs problem #5389

merged 3 commits into from
Apr 18, 2018

Conversation

matklad
Copy link
Member

@matklad matklad commented Apr 18, 2018

Closes #5313

r? @alexcrichton

Note that, due to the first commit, this still gives us all the benefits of #5249: if RUSTFLAGS is empty, we will run only a single rustc process, even if we can't cache it across different cargo invocations.

Even if we've failed to calculate fingerprint and thus can't persist
cache to disk, it is still valid to cache rustc output within single
process.
The info might be different due to RUSTFLAGS, which, in general,
are applied only to target.
@alexcrichton
Copy link
Member

@bors: r+

@bors
Copy link
Contributor

bors commented Apr 18, 2018

📌 Commit f7fa1f2 has been approved by alexcrichton

bors added a commit that referenced this pull request Apr 18, 2018
One hard cs problem

Closes #5313

r? @alexcrichton

Note that, due to the first commit, this still gives us all the benefits of #5249: if RUSTFLAGS is empty, we will run only a single rustc process, even if we can't cache it across different cargo invocations.
@bors
Copy link
Contributor

bors commented Apr 18, 2018

⌛ Testing commit f7fa1f2 with merge 5ac4ab1...

@bors
Copy link
Contributor

bors commented Apr 18, 2018

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

@bors bors merged commit f7fa1f2 into rust-lang:master Apr 18, 2018
@matklad matklad deleted the one-hard-cs-problem branch April 18, 2018 15:43
matklad added a commit to matklad/rust that referenced this pull request Apr 21, 2018
Some noteble changes:

  * regression fix: rust-lang/cargo#5390
  * potentially breaking bug-fix: rust-lang/cargo#5389
  * Cargo now caches the result of `rustc -vV`. It checks `rustc` binary
    mtime and rustup toolchain settings, so it should probably "just work"
    with rustbuild.
bors added a commit to rust-lang/rust that referenced this pull request Apr 22, 2018
Update Cargo

Some noteble changes:

 * ~~regression fix: rust-lang/cargo#5390
  * ~~potentially breaking bug-fix: rust-lang/cargo#5389
  * ~~Cargo now caches the result of `rustc -vV`. It checks `rustc` binary
    mtime and rustup toolchain settings, so it should probably "just work"
    with rustbuild.~~

potentially breaking bug-fix: rust-lang/cargo#5390
@ehuss ehuss added this to the 1.27.0 milestone Feb 6, 2022
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.

Regression in cargo 1.26.0-nightly 2018-04-04: [target.'cfg(FLAG)'.dependencies] does not work anymore
4 participants