about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2021-01-05 00:20:18 +0000
committerbors <bors@rust-lang.org>2021-01-05 00:20:18 +0000
commit9919ad6e9ed113557c68c430de2e0f434e4f5b6e (patch)
tree38ad2662014b3106ad2ab74fc85fe0d197870fae /compiler/rustc_codegen_llvm/src
parent61f5a0092364061ec5649ca98d5e3e9b927880fe (diff)
parent2f063cd39487714bd218ea2a23cfae64828a9058 (diff)
downloadrust-9919ad6e9ed113557c68c430de2e0f434e4f5b6e.tar.gz
rust-9919ad6e9ed113557c68c430de2e0f434e4f5b6e.zip
Auto merge of #80426 - jyn514:bootstrap-caching, r=Mark-Simulacrum
Don't use `self.date` unconditionally for `program_out_of_date()`

This avoids unnecessary cache invalidations for programs not affected by
the stage0 version (which is everything except the stage0 compiler
itself).

The redundant invalidations weren't noticed until now because they only
showed up on stage0 bumps, at which point people are used to rebuilding
everything anyway. I noticed it in https://github.com/rust-lang/rust/pull/79540
because I wasn't adding `self.date` to the stamp file (because I didn't realize it was necessary). Rather than
adding self.date I thought it was better to remove it from the cache key.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions