about summary refs log tree commit diff
path: root/src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs
diff options
context:
space:
mode:
authorFelix S. Klock II <pnkfelix@pnkfx.org>2019-11-29 16:04:40 +0100
committerFelix S. Klock II <pnkfelix@pnkfx.org>2019-12-20 04:47:28 +0100
commit5763627ccd8240672bf9c0e41079a4f0911f4866 (patch)
tree0f551ccb570abaf874d7a2c6e2074fd12021ba8e /src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs
parent19b3813b5eab1988312f222e4316d3a225e20966 (diff)
downloadrust-5763627ccd8240672bf9c0e41079a4f0911f4866.tar.gz
rust-5763627ccd8240672bf9c0e41079a4f0911f4866.zip
save LTO import information and check it when trying to reuse build products.
adopts simple strategy devised with assistance from mw: Instead of accumulating
(and acting upon) LTO import information over an unbounded number of prior
compilations, just see if the current import set matches the previous import set.
if they don't match, then you cannot reuse the PostLTO build product for that
module.

In either case (of a match or a non-match), we can (and must) unconditionally
emit the current import set as the recorded information in the incremental
compilation cache, ready to be loaded during the next compiler run for use in
the same check described above.

resolves issue 59535.
Diffstat (limited to 'src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs')
0 files changed, 0 insertions, 0 deletions