about summary refs log tree commit diff
path: root/src/librustc_incremental
AgeCommit message (Collapse)AuthorLines
2020-02-11Rollup merge of #66498 - bjorn3:less_feature_flags, r=Dylan-DPCDylan DPC-1/+0
Remove unused feature gates I think many of the remaining unstable things can be easily be replaced with stable things. I have kept the `#![feature(nll)]` even though it is only necessary in `libstd`, to make regressions of it harder.
2020-02-07Remove unused feature gate from librustc_incrementalbjorn3-1/+0
2020-02-04fix couple of perf related clipyp warningsMatthias Krüger-2/+1
librustc: don't clone a type that is copy librustc_incremental: use faster vector initialization librustc_typeck: don't clone a type that is copy librustdoc: don't create a vector where a slice will do
2020-02-01Use BufWriterShotaro Yamada-2/+2
2020-01-17Use named fields for `hir::ItemKind::Impl`Dylan MacKenzie-1/+1
2020-01-16don't clone types that are copyMatthias Krüger-1/+1
found via clippy
2020-01-09Label unmarked timeJohn Kåre Alsaker-0/+6
2020-01-09Change -Z time event naming scheme and make them generic activitiesJohn Kåre Alsaker-7/+8
2020-01-08normalize rustc::hir::intravisit importsMazdak Farrokhzad-2/+2
2020-01-08intravisit: abstract over HIR MapMazdak Farrokhzad-2/+8
2020-01-05Remove rustc_hir reexports in rustc::hir.Mazdak Farrokhzad-8/+9
2020-01-05Use self profile infrastructure for -Z time and -Z time-passesJohn Kåre Alsaker-46/+31
2020-01-02Normalize `syntax::symbol` imports.Mazdak Farrokhzad-3/+5
2020-01-01Rename `syntax_pos` to `rustc_span` in source codeVadim Petrochenkov-3/+3
2019-12-30Make things build againVadim Petrochenkov-1/+1
2019-12-22Format the worldMark Rousskov-743/+736
2019-12-21Use Arena inside hir::StructField.Camille GILLOT-1/+1
2019-12-21Use Arena inside hir::ImplItem.Camille GILLOT-2/+2
2019-12-21Use Arena inside hir::TraitItem.Camille GILLOT-2/+2
2019-12-21Use Arena inside hir::Item.Camille GILLOT-2/+2
2019-12-21Use Arena inside hir::Crate.Camille GILLOT-1/+1
2019-12-18Remove some unnecessary `ATTR_*` constants.Nicholas Nethercote-14/+10
2019-12-03Move cgu_reuse_tracker to librustc_sessionMark Rousskov-1/+2
2019-11-02Simplify various `Symbol` use points.Nicholas Nethercote-3/+3
Including removing a bunch of unnecessary `.as_str()` calls, and a bunch of unnecessary sigils.
2019-11-02Convert `x.as_str().to_string()` to `x.to_string()` where possible.Nicholas Nethercote-3/+3
2019-11-02Remove some unnecessary renamings of constants.Nicholas Nethercote-8/+4
2019-11-01Rollup merge of #65470 - traxys:fix_65401, r=michaelwoeristerTyler Mandry-1/+9
Don't hide ICEs from previous incremental compiles I think this fixes #65401, the compiler does not fail to ICE after the first compilation, tested on the last snippet of [this comment](https://github.com/rust-lang/rust/issues/63154#issuecomment-541592381). I am not very sure of the fix as I don't understand much of the structure of the compiler.
2019-10-24remove the last remaining READMEsMark Mansi-12/+2
2019-10-21Use `Symbol` for codegen unit names.Nicholas Nethercote-4/+4
This is a straightforward replacement except for two places where we have to convert to `LocalInternedString` to get a stable sort.
2019-10-16Check if there are any delayed_span_bugs and abort incremental compilation ↵Quentin Boyer-1/+9
in this case
2019-10-09self-profiling: Add events for everything except trait selection.Michael Woerister-0/+7
2019-10-03Remove -Zprofile-queriesMark Rousskov-1/+1
2019-09-30Self-Profiling: Make names of existing events more consistent and use new API.Michael Woerister-0/+6
2019-09-26Rename `Item.node` to `Item.kind`varkor-2/+2
2019-09-26Rename `TraitItem.node` to `TraitItem.kind`varkor-1/+1
2019-09-26Rename `ImplItem.node` to `ImplItem.kind`varkor-1/+1
2019-09-12Auto merge of #64303 - nnethercote:avoid-more-Symbol-to-string-operations, ↵bors-6/+6
r=petrochenkov Avoid more `Symbol`-to-string operations These commits avoid various `Symbol`-to-string conversions, by doing more operations directly on `Symbol`s. This requires adding a few more static `Symbol`s to the binary. r? @petrochenkov
2019-09-11Store `InternedString`s in `AssertModuleSource::available_cgus`.Nicholas Nethercote-6/+6
2019-09-06Upgrade rand to 0.7Mateusz Mikuła-1/+1
2019-08-23Fix incremental testsWesley Wiser-6/+21
2019-08-04Rename `ItemImplKind::Type` to `ItemImplKind::TyAlias`varkor-1/+1
2019-08-04Rename `ItemKind::Ty` to `ItemKind::TyAlias`varkor-1/+1
2019-08-03Auto merge of #63180 - varkor:trait-alias-impl-trait, r=Centrilbors-1/+1
Change opaque type syntax from `existential type` to type alias `impl Trait` This implements a new feature gate `type_alias_impl_trait` (this is slightly different from the originally proposed feature name, but matches what has been used in discussion since), deprecating the old `existential_types` feature. The syntax for opaque types has been changed. In addition, the "existential" terminology has been replaced with "opaque", as per previous discussion and the RFC. This makes partial progress towards implementing https://github.com/rust-lang/rust/issues/63063. r? @Centril
2019-08-02Replace "existential" by "opaque"varkor-1/+1
2019-08-02librustc_incremental: Unconfigure tests during normal buildVadim Petrochenkov-64/+68
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-4/+1
2019-07-20normalize use of backticks in compiler messages for librustc_incrementalSamy Kacimi-5/+5
https://github.com/rust-lang/rust/issues/60532
2019-07-07rustc: Remove `dylib` crate type from most rustc cratesAlex Crichton-1/+1
Now that procedural macros no longer link transitively to libsyntax, this shouldn't be needed any more! This commit is an experiment in removing all dynamic libraries from rustc except for librustc_driver itself. Let's see how far we can get with that!