summary refs log tree commit diff
path: root/src/librustc_incremental
AgeCommit message (Collapse)AuthorLines
2018-07-28Don't format!() string literalsljedrz-1/+1
2018-07-25Deny bare_trait_objects globallyTatsuyuki Ishi-2/+0
2018-07-18Implement existential typesOliver Schneider-0/+1
2018-07-16Update a debug stringOliver Schneider-1/+1
2018-07-16ItemKindcsmoe-15/+15
2018-07-16Revert "Persist ThinLTO import data in incr. comp. session directory."Michael Woerister-2/+0
This reverts commit 8dc7ddb9763f28b83de7bf3b3025f8042ea9e830.
2018-07-16Revert "Clean up CodegenUnit name generation."Michael Woerister-45/+8
This reverts commit 2c5cd9ce53d2d25041db0cb02b40ba460ffa8908.
2018-07-13Auto merge of #52266 - michaelwoerister:incr-thinlto-preliminaries, ↵bors-8/+47
r=alexcrichton Preliminary work for incremental ThinLTO. Since implementing incremental ThinLTO is a bit more involved than I initially thought, I'm splitting out some of the things that already work. This PR (1) adds a way accessing some ThinLTO information in `rustc` and (2) does some cleanup around CGU/object file naming (which makes things quite a bit nicer). This is probably best reviewed one commit at a time.
2018-07-14Rollup merge of #52302 - ljedrz:dyn_futureproofing, r=cramertjkennytm-0/+2
Deny bare trait objects in the rest of rust Add `#![deny(bare_trait_objects)]` to all the modules not covered before (those did not require code changes) that I consider applicable (I left out shims) in order to futureproof them.
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