about summary refs log tree commit diff
path: root/src/librustc_incremental
AgeCommit message (Collapse)AuthorLines
2018-07-12Deny bare trait objects in the rest of rustljedrz-0/+2
2018-07-12rename `control_flow_graph` to `graph`Niko Matsakis-1/+1
2018-07-12rename `graph` to `control_flow_graph::implementation`Niko Matsakis-1/+3
2018-07-11Clean up CodegenUnit name generation.Michael Woerister-8/+45
2018-07-11Persist ThinLTO import data in incr. comp. session directory.Michael Woerister-0/+2
2018-06-27Make opaque::Encoder append-only and make it infallibleJohn Kåre Alsaker-34/+20
2018-06-19Save query results and the dep graph in parallelJohn Kåre Alsaker-8/+16
2018-06-14rustc: rename ty::maps to ty::query.Eduard-Mihai Burtescu-2/+2
2018-05-18Serialize attributes into the CrateRootIsaac Whitfield-10/+14
2018-05-17Rename trans to codegen everywhere.Irina Popa-14/+14
2018-05-11Update an old method name in debug loggingIsaac Whitfield-1/+1
2018-05-11Update naming in line with PR commentsIsaac Whitfield-15/+16
2018-05-11Catch a bad reference in use clausesIsaac Whitfield-1/+1
2018-05-11Remove shared access to DepGraph::work_productsIsaac Whitfield-19/+18
2018-05-08Fix commentWesley Wiser-1/+1
2018-05-07Make DepGraph::previous_work_products immutableWesley Wiser-55/+57
Fixes #50501
2018-05-02make it compile againflip1995-1/+1
2018-04-27Rename InternedString to LocalInternedString and introduce a new thread-safe ↵John Kåre Alsaker-1/+1
InternedString
2018-04-15Add misc timingsJohn Kåre Alsaker-4/+14
2018-04-08Move deny(warnings) into rustbuildMark Simulacrum-1/+0
This permits easier iteration without having to worry about warnings being denied. Fixes #49517
2018-04-07Auto merge of #49661 - alexcrichton:bump-bootstrap, r=nikomatsakisbors-3/+0
Bump the bootstrap compiler to 1.26.0 beta Holy cow that's a lot of `cfg(stage0)` removed and a lot of new stable language features!
2018-04-06Use `Ident` instead of `Name` in `MetaItem`Vadim Petrochenkov-1/+1
2018-04-05Bump the bootstrap compiler to 1.26.0 betaAlex Crichton-3/+0
Holy cow that's a lot of `cfg(stage0)` removed and a lot of new stable language features!
2018-03-28Rollup merge of #49364 - wesleywiser:incr_handle_load_failure, ↵kennytm-1/+4
r=michaelwoerister [incremental] Don't panic if decoding the cache fails If the cached data can't be loaded from disk, just issue a warning to the user so they know why compilation is taking longer than usual but don't fail the entire compilation since we can recover by ignorning the on disk cache. In the same way, if the disk cache can't be deserialized (because it has been corrupted for some reason), report the issue as a warning and continue without failing the compilation. `Decodable::decode()` tends to panic with various errors like "entered unreachable code" or "index out of range" if the input data is corrupted. Work around this by catching panics from the `decode()` calls and continuing without the cached data. Fixes #48847
2018-03-28[incremental] Don't panic if decoding the cache failsWesley Wiser-1/+4
If the cached data can't be loaded from disk, just issue a warning to the user so they know why compilation is taking longer than usual but don't fail the entire compilation since we can recover by ignorning the on disk cache. In the same way, if the disk cache can't be deserialized (because it has been corrupted for some reason), report the issue as a warning and continue without failing the compilation. `Decodable::decode()` tends to panic with various errors like "entered unreachable code" or "index out of range" if the input data is corrupted. Work around this by catching panics from the `decode()` calls when joining the thread and continuing without the cached data. Fixes #48847
2018-03-26Stabilize i128_typeMark Mansi-1/+1
2018-03-26Stabilize conservative_impl_traitTaylor Cramer-1/+1
2018-03-19Convert SerializedDepGraph to be a struct-of-arraysWesley Wiser-1/+1
Fixes #47326
2018-03-16Auto merge of #49051 - kennytm:rollup, r=kennytmbors-1/+1
Rollup of 17 pull requests - Successful merges: #48706, #48875, #48892, #48922, #48957, #48959, #48961, #48965, #49007, #49024, #49042, #49050, #48853, #48990, #49037, #49049, #48972 - Failed merges:
2018-03-15Stabilize `inclusive_range_syntax` language feature.kennytm-1/+1
Stabilize the syntax `a..=b` and `..=b`.
2018-03-12Dedupe randBastien Orivel-1/+1
2018-03-09Move PROFQ_CHAN to a Session fieldJohn Kåre Alsaker-5/+7
2018-03-05Turn features() into a query.Michael Woerister-2/+2
2018-02-13incr.comp.: Run cache directory garbage collection before loading dep-graph.Michael Woerister-2/+18
2018-01-19Allow runtime switching between trans backendsbjorn3-0/+139
2018-01-13Remove `impl Foo for ..` in favor of `auto trait Foo`leonardo.yvens-3/+0
No longer parse it. Remove AutoTrait variant from AST and HIR. Remove backwards compatibility lint. Remove coherence checks, they make no sense for the new syntax. Remove from rustdoc.
2018-01-13Rollup merge of #47328 - mbrubeck:fs_read, r=sfacklerkennytm-11/+8
Use the new fs_read_write functions in rustc internals Uses `fs::read` and `fs::write` (added by #45837) where appropriate, to simplify code and dog-food these new APIs. This also improves performance, when combined with #47324.
2018-01-11Auto merge of #47087 - Zoxc:incr_no_in_ignore, r=michaelwoeristerbors-66/+68
Replace uses of DepGraph.in_ignore with DepGraph.with_ignore I currently plan to track tasks in thread local storage. Ignoring things in a closure ensures that the ignore tasks do not overlap the beginning or end of any other task. The TLS API will also use a closure to change a TLS value, so having the ignore task be a closure also helps there. It also adds `assert_ignored` which is used before a `TyCtxt` is created. Instead of adding a new ignore task this simply ensures that we are in a context where reads are ignored. r? @michaelwoerister
2018-01-10Use the new fs_read_write functions in rustc internalsMatt Brubeck-11/+8
2018-01-09Replace uses of DepGraph.in_ignore with DepGraph.with_ignoreJohn Kåre Alsaker-66/+68
2018-01-08Shorten names of some compiler generated artifacts.Michael Woerister-7/+8
2018-01-07Try to fix a perf regression by updating logMalo Jaffré-1/+1
Upgrade `log` to `0.4` in multiple crates.
2017-12-20incr.comp.: Use an IndexVec instead of a hashmap for storing result hashes.Michael Woerister-2/+4
2017-12-15Resolves #46555 - Moving loading and decoding of dependency graph to ↵David Teller-55/+117
background thread
2017-11-29incr.comp.: Remove on-export crate metadata hashing.Michael Woerister-346/+3
2017-11-19Remove some trailing whitespace.Michael Woerister-1/+1
2017-11-19Fix tidy line-length issue.Michael Woerister-1/+2
2017-11-17[incremental] Collect stats about duplicated edge reads from queriesWesley Wiser-0/+3
Part of #45873
2017-11-16incr.comp.: Remove default serialization implementations for things in ↵Michael Woerister-5/+4
rustc::hir::def_id so that we get an ICE instead of silently doing the wrong thing.
2017-11-15incr.comp.: Only save and load query result cache when -Zincremental-queries ↵Michael Woerister-6/+9
is specified.