about summary refs log tree commit diff
path: root/src/test/debuginfo/enum-thinlto.rs
diff options
context:
space:
mode:
authorMazdak Farrokhzad <twingoow@gmail.com>2019-09-06 09:36:40 +0200
committerGitHub <noreply@github.com>2019-09-06 09:36:40 +0200
commit37a022ee43c95e815c458844b223ad73c11715d8 (patch)
tree0e888a915af5a187caeb7171204065531a0e54c8 /src/test/debuginfo/enum-thinlto.rs
parent3c1630aa386582644759514f74b2b0a7601fb379 (diff)
parent53fe76479aab03b1fbe5b7184f45484886f769b1 (diff)
downloadrust-37a022ee43c95e815c458844b223ad73c11715d8.tar.gz
rust-37a022ee43c95e815c458844b223ad73c11715d8.zip
Rollup merge of #64156 - cuviper:gitless-llvm, r=alexcrichton
Assume non-git LLVM is fresh if the stamp file exists

Rustbuild usually writes the LLVM submodule commit in a stamp file, so
we can avoid rebuilding it unnecessarily. However, for builds from a
source tarball (non-git), we were assuming a rebuild is always needed.
This can cause a lot of extra work if any environment like `CFLAGS`
changed between steps like build and install, which are often separate
in distro builds.

Now we also write an empty stamp file if the git commit is unknown, and
its presence is trusted to indicate that no rebuild is needed. An info
message reports that this is happening, along with the stamp file path
that can be deleted to force a rebuild anyway.

Fixes #61206.
Diffstat (limited to 'src/test/debuginfo/enum-thinlto.rs')
0 files changed, 0 insertions, 0 deletions