summary refs log tree commit diff
path: root/src/librustc_incremental/lib.rs
AgeCommit message (Collapse)AuthorLines
2016-12-15Use StableHasher everywhereAriel Ben-Yehuda-1/+1
The standard implementations of Hasher have architecture-dependent results when hashing integers. This causes problems when the hashes are stored within metadata - metadata written by one host architecture can't be read by another. To fix that, implement an architecture-independent StableHasher and use it in all places an architecture-independent hasher is needed. Fixes #38177.
2016-12-09incr.comp.: Take symbol visibility into account for CGU hashes.Michael Woerister-0/+1
2016-11-30Update the bootstrap compilerAlex Crichton-2/+0
Now that we've got a beta build, let's use it!
2016-11-03Stabilize `..` in tuple (struct) patternsVadim Petrochenkov-1/+1
2016-10-17ICH: Use 128-bit Blake2b hash instead of 64-bit SipHash for incr. comp. ↵Michael Woerister-0/+1
fingerprints.
2016-10-12Stabilise `?`Nick Cameron-1/+1
cc [`?` tracking issue](https://github.com/rust-lang/rust/issues/31436)
2016-09-23ICH: Add ability to test the ICH of exported metadata items.Michael Woerister-0/+7
2016-09-20Remove librbml and the RBML-tagged auto-encoder/decoder.Eduard Burtescu-1/+0
2016-09-06Auto merge of #36025 - michaelwoerister:incr-comp-hash-spans, r=nikomatsakisbors-0/+1
incr. comp.: Take spans into account for ICH This PR makes the ICH (incr. comp. hash) take spans into account when debuginfo is enabled. A side-effect of this is that the SVH (which is based on the ICHs of all items in the crate) becomes sensitive to the tiniest change in a code base if debuginfo is enabled. Since we are not trying to model ABI compatibility via the SVH anymore (this is done via the crate disambiguator now), this should be not be a problem. Fixes #33888. Fixes #32753.
2016-09-04Replace `_, _` with `..`Vadim Petrochenkov-0/+1
2016-09-01Fill some holes in SVH/ICH computation, making it more strict.Michael Woerister-0/+1
2016-08-29Implement copy-on-write scheme for managing the incremental compilation cache.Michael Woerister-0/+2
2016-08-23rename HashesMap to IncrementalHashesMapNiko Matsakis-2/+2
2016-08-20compute and cache HIR hashes at beginningNiko Matsakis-1/+2
This avoids the compile-time overhead of computing them twice. It also fixes an issue where the hash computed after typeck is differen than the hash before, because typeck mutates the def-map in place. Fixes #35549. Fixes #35593.
2016-07-28Modify trans to skip generating `.o` filesNiko Matsakis-0/+2
This checks the `previous_work_products` data from the dep-graph and tries to simply copy a `.o` file if possible. We also add new work-products into the dep-graph, and create edges to/from the dep-node for a work-product.
2016-07-28Code to save/load the work-products map from diskNiko Matsakis-0/+2
Work products are deleted if any of their inputs are dirty.
2016-06-23Move errors from libsyntax to its own crateJonathan Turner-0/+1
2016-04-06rebase: get `bug!` macroNiko Matsakis-1/+1
2016-04-06make an incremental crateNiko Matsakis-0/+41
for now, this houses `svh` and the code to check `assert_dep_graph` is sane