about summary refs log tree commit diff
path: root/src/test/ui/thinlto
diff options
context:
space:
mode:
authorMazdak Farrokhzad <twingoow@gmail.com>2019-07-13 16:18:40 +0200
committerGitHub <noreply@github.com>2019-07-13 16:18:40 +0200
commitbafddd4c0aa7939292c992e300593724b8e52aa7 (patch)
treede29762199d2bca5ba00c36b28fb7ca7feb346d5 /src/test/ui/thinlto
parent4fe6e63cd60ade52cd24616e17de5c570b06b0e7 (diff)
parent278e5fd2152bfba3234f97560a378bdb03e24a3d (diff)
downloadrust-bafddd4c0aa7939292c992e300593724b8e52aa7.tar.gz
rust-bafddd4c0aa7939292c992e300593724b8e52aa7.zip
Rollup merge of #62636 - alexcrichton:assert-build-cargo-once, r=Mark-Simulacrum
rustbuild: Improve assert about building tools once

In developing #61557 I noticed that there were two parts of our tools
that were rebuilt twice on CI. One was rustfmt fixed in #61557, but
another was Cargo. The actual fix for Cargo's double compile was
rust-lang/cargo#7010 and took some time to propagate here. In an effort
to continue to assert that Cargo is itself not compiled twice, I updated
the assertion in rustbuild at the time of working on #61557 but couldn't
land it because the fix wouldn't be ready until the next bootstrap.

The next bootstrap is now here, so the fix can now land! This does not
change the behavior of rustbuild but it is intended to catch the
previous iteration of compiling cargo twice. The main update here was to
consider more files than those in `$target/release/deps` but also
consider those in `$target/release`. That's where, for example,
`libcargo.rlib` shows up and it's the file we learn about, and that's
what we want to deduplicate.
Diffstat (limited to 'src/test/ui/thinlto')
0 files changed, 0 insertions, 0 deletions