about summary refs log tree commit diff
path: root/src/librustc_incremental/lib.rs
AgeCommit message (Collapse)AuthorLines
2020-08-30mv compiler to compiler/mark-30/+0
2020-08-15replaced log with tracingGurpreet Singh-1/+1
2020-05-12Change `WorkProduct::saved_files` to an `Option`.Nicholas Nethercote-1/+1
Because there is at most one file.
2020-03-30rustc -> rustc_middle part 1Mazdak Farrokhzad-1/+1
2020-02-07Remove unused feature gate from librustc_incrementalbjorn3-1/+0
2019-12-22Format the worldMark Rousskov-14/+14
2019-07-28Deny `unused_lifetimes` through rustbuildVadim Petrochenkov-2/+0
2019-07-28Remove lint annotations in specific crates that are already enforced by ↵Vadim Petrochenkov-1/+0
rustbuild Remove some random unnecessary lint `allow`s
2019-07-23cleanup: Remove `extern crate serialize as rustc_serialize`sVadim Petrochenkov-3/+0
2019-06-24Enable internal lints in bootstrapflip1995-1/+0
2019-06-12rustc: replace `TyCtxt<'a, 'gcx, 'tcx>` with `TyCtxt<'tcx, 'gcx, 'tcx>`.Eduard-Mihai Burtescu-0/+1
2019-06-11rustc_incremental: deny(unused_lifetimes).Eduard-Mihai Burtescu-0/+1
2019-04-17Deny `internal` in stage0Mateusz Mikuła-1/+1
2019-04-03Deny internal lints on non conflicting cratesflip1995-0/+1
- libarena - librustc_allocator - librustc_borrowck - librustc_codegen_ssa - librustc_codegen_utils - librustc_driver - librustc_errors - librustc_incremental - librustc_metadata - librustc_passes - librustc_privacy - librustc_resolve - librustc_save_analysis - librustc_target - librustc_traits - libsyntax - libsyntax_ext - libsyntax_pos
2019-03-10Make the rustc driver and interface demand drivenJohn Kåre Alsaker-1/+1
2019-02-09Rollup merge of #58261 - taiki-e:librustc_incremental-2018, r=CentrilMazdak Farrokhzad-7/+4
librustc_incremental => 2018 Transitions `librustc_incremental` to Rust 2018; cc #58099 r? @Centril
2019-02-08librustc_incremental => 2018Taiki Endo-7/+4
2019-02-07Remove images' url to make it work even without internet connectionGuillaume Gomez-3/+1
2018-12-25Remove licensesMark Rousskov-10/+0
2018-09-27Bump to 1.31.0 and bootstrap from 1.30 betaJosh Stone-1/+1
2018-09-11stabalize infer outlives requirements (RFC 2093).toidiu-1/+0
Co-authored-by: nikomatsakis
2018-08-31Persist ThinLTO import data in incr. comp. session directory.Michael Woerister-0/+1
2018-08-24check that adding infer-outlives requirement to all crates worksNiko Matsakis-0/+1
2018-08-10Auto merge of #53073 - Mark-Simulacrum:data-structures, r=pnkfelixbors-0/+1
Cleanup to librustc::session and related code No functional changes, just some cleanup. This also creates the `rustc_fs_util` crate, but I can remove that change if desired. It felt a little odd to force crates to depend on librustc for some fs utilities; and also seemed good to generally keep the size of librustc lower (for compile times); fs_util will compile in parallel with essentially the first crate since it has no dependencies beyond std.
2018-08-09Move rustc::util::fs into separate (new) crateMark Rousskov-0/+1
2018-08-09[nll] librustc_incremental: enable feature(nll) for bootstrapmemoryruins-0/+1
2018-08-05Remove unnecessary feature attributes that sneaked invarkor-1/+0
2018-07-25Deny bare_trait_objects globallyTatsuyuki Ishi-2/+0
2018-07-16Revert "Persist ThinLTO import data in incr. comp. session directory."Michael Woerister-1/+0
This reverts commit 8dc7ddb9763f28b83de7bf3b3025f8042ea9e830.
2018-07-13Auto merge of #52266 - michaelwoerister:incr-thinlto-preliminaries, ↵bors-0/+1
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-12Deny bare trait objects in the rest of rustljedrz-0/+2
2018-07-11Persist ThinLTO import data in incr. comp. session directory.Michael Woerister-0/+1
2018-06-19Save query results and the dep graph in parallelJohn Kåre Alsaker-0/+2
2018-05-11Update naming in line with PR commentsIsaac Whitfield-2/+2
2018-05-11Catch a bad reference in use clausesIsaac Whitfield-1/+1
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-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-0/+1
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-0/+1
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-15Stabilize `inclusive_range_syntax` language feature.kennytm-1/+1
Stabilize the syntax `a..=b` and `..=b`.
2018-02-13incr.comp.: Run cache directory garbage collection before loading dep-graph.Michael Woerister-0/+1
2018-01-19Allow runtime switching between trans backendsbjorn3-0/+1
2018-01-10Use the new fs_read_write functions in rustc internalsMatt Brubeck-0/+1
2017-11-08std: Remove `rand` crate and moduleAlex Crichton-1/+1
This commit removes the `rand` crate from the standard library facade as well as the `__rand` module in the standard library. Neither of these were used in any meaningful way in the standard library itself. The only need for randomness in libstd is to initialize the thread-local keys of a `HashMap`, and that unconditionally used `OsRng` defined in the standard library anyway. The cruft of the `rand` crate and the extra `rand` support in the standard library makes libstd slightly more difficult to port to new platforms, namely WebAssembly which doesn't have any randomness at all (without interfacing with JS). The purpose of this commit is to clarify and streamline randomness in libstd, focusing on how it's only required in one location, hashmap seeds. Note that the `rand` crate out of tree has almost always been a drop-in replacement for the `rand` crate in-tree, so any usage (accidental or purposeful) of the crate in-tree should switch to the `rand` crate on crates.io. This then also has the further benefit of avoiding duplication (mostly) between the two crates!
2017-10-25incr.comp.: Implement query diagnostic persistence.Michael Woerister-1/+5
2017-10-02incr.comp.: Remove saving and loading of legacy dep-graph.Michael Woerister-1/+1
2017-10-02incr.comp.: Use red/green tracking for CGU re-use.Michael Woerister-0/+1
2017-09-23incr.comp.: Serialize and deserialize new DepGraphMichael Woerister-0/+1