about summary refs log tree commit diff
path: root/src/librustc_incremental
AgeCommit message (Collapse)AuthorLines
2016-10-05ICH - Include omitted elements in inc. comp. hash #36914Mathieu Borderé-16/+146
2016-10-04Separate Def::StructCtor/Def::VariantCtor from Def::Struct/Def::VariantVadim Petrochenkov-0/+2
2016-10-03Auto merge of #36821 - pweaver:master, r=michaelwoeristerbors-3/+14
#36821 I am just starting to learn rust. Feedback would be appreciated.
2016-10-03fixes multi-line string whitespace in librustc_incremental/persist/fs.rsPweaver (Paul Weaver)-4/+6
2016-10-03Auto merge of #36815 - alexcrichton:stabilize-1.13, r=aturonbors-11/+15
std: Stabilize and deprecate APIs for 1.13 This commit is intended to be backported to the 1.13 branch, and works with the following APIs: Stabilized * `i32::checked_abs` * `i32::wrapping_abs` * `i32::overflowing_abs` * `RefCell::try_borrow` * `RefCell::try_borrow_mut` Deprecated * `BinaryHeap::push_pop` * `BinaryHeap::replace` * `SipHash13` * `SipHash24` * `SipHasher` - use `DefaultHasher` instead in the `std::collections::hash_map` module Closes #28147 Closes #34767 Closes #35057 Closes #35070
2016-10-03std: Stabilize and deprecate APIs for 1.13Alex Crichton-11/+15
This commit is intended to be backported to the 1.13 branch, and works with the following APIs: Stabilized * `i32::checked_abs` * `i32::wrapping_abs` * `i32::overflowing_abs` * `RefCell::try_borrow` * `RefCell::try_borrow_mut` * `DefaultHasher` * `DefaultHasher::new` * `DefaultHasher::default` Deprecated * `BinaryHeap::push_pop` * `BinaryHeap::replace` * `SipHash13` * `SipHash24` * `SipHasher` - use `DefaultHasher` instead in the `std::collections::hash_map` module Closes #28147 Closes #34767 Closes #35057 Closes #35070
2016-10-01Rollup merge of #36599 - ↵Manish Goregaokar-2/+2
jonas-schievink:whats-a-pirates-favorite-data-structure, r=pnkfelix Contains a syntax-[breaking-change] as a separate commit (cc #31645).nnAlso renames slice patterns from `PatKind::Vec` to `PatKind::Slice`.
2016-09-29#36680 add warning when compliation cache fails to hard linkPweaver (Paul Weaver)-3/+12
2016-09-28Rollup merge of #36460 - mikhail-m1:35123-map3, r=nikomatsakisJonathan Turner-8/+20
map crate numbers between compilations ?r nikomatsakis issue #35123
2016-09-28Call arrays "arrays" instead of "vecs" internallyJonas Schievink-2/+2
2016-09-26incr.comp.: Fix build issue in rustc_incremental if CFG_VERSION is not set.Michael Woerister-3/+5
2016-09-26incr.comp.: Add test case for cache artifact file headers.Michael Woerister-3/+18
2016-09-26incr.comp.: Add file header to on-disk artifacts for validation.Michael Woerister-40/+156
2016-09-23ICH: Add ability to test the ICH of exported metadata items.Michael Woerister-81/+329
2016-09-23Merge branch 'master' into 35123-map3Mikhail Modin-223/+591
2016-09-20rustc_metadata: group information into less tags.Eduard Burtescu-1/+0
2016-09-20Remove librbml and the RBML-tagged auto-encoder/decoder.Eduard Burtescu-10/+6
2016-09-20rustc_metadata: go only through rustc_serialize in astencode.Eduard Burtescu-18/+14
2016-09-13Auto merge of #36041 - ahmedcharles:try, r=nrcbors-11/+11
Replace try! with ?.
2016-09-14map create numbers between compilationsMikhail Modin-8/+20
2016-09-12Auto merge of #35960 - nikomatsakis:incr-comp-krate-edges, r=michaelwoeristerbors-87/+71
fix a few errant `Krate` edges Exploring the effect of small changes on `syntex` reuse, I discovered the following sources of unnecessary edges from `Krate` r? @michaelwoerister
2016-09-11Use question_mark feature in librustc_incremental.Ahmed Charles-11/+11
2016-09-06Auto merge of #36025 - michaelwoerister:incr-comp-hash-spans, r=nikomatsakisbors-91/+482
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-06ICH: Make CachingCodemapView robustly handle invalid spans.Michael Woerister-15/+36
2016-09-06allow testing DepNode::Krate edges directlyNiko Matsakis-87/+71
2016-09-04Replace `_, _` with `..`Vadim Petrochenkov-6/+7
2016-09-03Some better support for unions through the compilerVadim Petrochenkov-0/+1
2016-09-01ICH: Adapt to changes in the MetaItem AST representation.Michael Woerister-18/+17
2016-09-01ICH: Share codemap cache between subsequent runs of the ICH visitor.Michael Woerister-86/+111
2016-09-01ICH: Fix codemap lookup caching.Michael Woerister-42/+52
2016-09-01ICH: Fix bug in hash_discriminant() and visit_vis().Michael Woerister-2/+4
2016-09-01ICH: Take CaptureClause of closure expressions into account.Michael Woerister-2/+2
2016-09-01ICH: Cleanup some comments.Michael Woerister-9/+9
2016-09-01ICH: Don't hash span expansion kind twice.Michael Woerister-2/+0
2016-09-01Rename CacheCodemapView to CachingCodemapView.Michael Woerister-6/+6
2016-09-01incr.comp.: Ignore doc-comments when computing the ICH.Michael Woerister-3/+4
2016-09-01incr.comp.: Add stable hashing of HIR spans to ICH.Michael Woerister-49/+158
2016-09-01Fill some holes in SVH/ICH computation, making it more strict.Michael Woerister-65/+291
2016-08-31Auto merge of #35718 - michaelwoerister:incr-comp-dir-locking, r=alexcrichtonbors-129/+1143
Implement synchronization scheme for incr. comp. directory This PR implements a copy-on-write-based synchronization scheme for the incremental compilation cache directory. For technical details, see the documentation at the beginning of `rustc_incremental/persist/fs.rs`. The PR contains unit tests for some functions but for testing whether the scheme properly handles races, a more elaborate test setup would be needed. It would probably involve a small tool that allows to manipulate the incremental compilation directory in a controlled way and then letting a compiler instance run against directories in different states. I don't know if it's worth the trouble of adding another test category to `compiletest`, but I'd be happy to do so. Fixes #32754 Fixes #34957
2016-08-29incr.comp.: Canonicalize path to session directory before deleteing it.Michael Woerister-5/+29
2016-08-29Fix tidy-errorsMichael Woerister-2/+2
2016-08-29incr.comp.: Make path's of session directories slightly shorter.Michael Woerister-38/+75
By using "s-" instead of "sess-" as a prefix and encoding numbers as base36 instead of base16.
2016-08-29incr. comp.: Fix test_timestamp_serialization so it does not overflow on ↵Michael Woerister-2/+2
some 32bit systems.
2016-08-29incr.comp.: Move lock files out of directory being lockedMichael Woerister-159/+251
2016-08-29Implement copy-on-write scheme for managing the incremental compilation cache.Michael Woerister-129/+990
2016-08-25Refactor away `AttrMetaMethods`.Jeffrey Seyfried-2/+0
2016-08-25Refactor away `AttributeMethods`.Jeffrey Seyfried-1/+0
2016-08-25Refactor away `AttrNestedMetaItemMethods`.Jeffrey Seyfried-2/+2
2016-08-25Implement RFC#1559: allow all literals in attributes.Sergio Benitez-21/+34
2016-08-23consider DepNode::Krate to be an inputNiko Matsakis-5/+12
This seems not only more correct but allows us to write tests that check whether the krate hash as a whole is clean/dirty