| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2022-03-02 | rename ErrorReported -> ErrorGuaranteed | mark | -2/+2 | |
| 2022-02-19 | Adopt let else in more places | est31 | -4/+1 | |
| 2022-02-09 | Auto merge of #93724 - Mark-Simulacrum:drop-query-stats, r=michaelwoerister | bors | -4/+0 | |
| Delete -Zquery-stats infrastructure These statistics are computable from the self-profile data and/or ad-hoc collectable as needed, and in the meantime contribute to rustc bootstrap times -- locally, this PR shaves ~2.5% from rustc_query_impl builds in instruction counts. If this does lose some functionality we want to keep, I think we should migrate it to self-profile (or a similar interface) rather than this ad-hoc reporting. | ||||
| 2022-02-06 | Delete query stats | Mark Rousskov | -4/+0 | |
| These statistics are computable from the self-profile data and/or ad-hoc collectable as needed, and in the meantime contribute to rustc bootstrap times. | ||||
| 2022-02-05 | Store rlink data in opaque binary format on disk | Mark Rousskov | -6/+3 | |
| 2021-12-13 | Use `OutputFilenames` to generate output file for `-Zllvm-time-trace` | Tomasz Miąsko | -2/+5 | |
| The resulting profile will include the crate name and will be stored in the `--out-dir` directory. This implementation makes it convenient to use LLVM time trace together with cargo, in the contrast to the previous implementation which would overwrite profiles or store them in `.cargo/registry/..`. | ||||
| 2021-10-01 | Fix clippy lints | Guillaume Gomez | -4/+4 | |
| 2021-09-28 | rustc_session: Remove lint store from `Session` | Vadim Petrochenkov | -2/+2 | |
| 2021-08-21 | Remove `Session.used_attrs` and move logic to `CheckAttrVisitor` | Aaron Hill | -1/+1 | |
| Instead of updating global state to mark attributes as used, we now explicitly emit a warning when an attribute is used in an unsupported position. As a side effect, we are to emit more detailed warning messages (instead of just a generic "unused" message). `Session.check_name` is removed, since its only purpose was to mark the attribute as used. All of the callers are modified to use `Attribute.has_name` Additionally, `AttributeType::AssumedUsed` is removed - an 'assumed used' attribute is implemented by simply not performing any checks in `CheckAttrVisitor` for a particular attribute. We no longer emit unused attribute warnings for the `#[rustc_dummy]` attribute - it's an internal attribute used for tests, so it doesn't mark sense to treat it as 'unused'. With this commit, a large source of global untracked state is removed. | ||||
| 2021-06-30 | Fix AST pretty. | Camille GILLOT | -3/+3 | |
| 2021-06-30 | Move AST crate. | Camille GILLOT | -11/+9 | |
| 2021-06-30 | Move lowering to create_global_ctxt. | Camille GILLOT | -14/+2 | |
| 2021-06-30 | Inline lower_to_hir. | Camille GILLOT | -33/+18 | |
| 2021-06-30 | Separate resolver creation from expansion. | Camille GILLOT | -8/+9 | |
| 2021-06-30 | Simplify DepGraph creation. | Camille GILLOT | -25/+12 | |
| 2021-06-04 | A couple of small cleanups | bjorn3 | -12/+15 | |
| 2021-05-25 | Don't panic when failing to initialize incremental directory. | Eric Huss | -2/+2 | |
| 2021-05-12 | Use () for analysis. | Camille GILLOT | -1/+1 | |
| 2021-05-12 | Use () for entry_fn. | Camille GILLOT | -1/+1 | |
| 2021-04-29 | Implement RFC 1260 with feature_name `imported_main`. | Charles Lew | -1/+1 | |
| 2021-03-30 | Stream the dep-graph to a file. | Camille GILLOT | -1/+10 | |
| 2021-02-19 | Move the query system to rustc_query_impl. | Camille GILLOT | -4/+4 | |
| 2021-02-19 | Make alloc_self_profile_query_strings a standalone function. | Camille GILLOT | -1/+1 | |
| 2021-02-19 | Make QueryEngine opaque to TyCtxt. | Camille GILLOT | -1/+5 | |
| 2021-01-23 | Calculate self-profile strings in `Compiler::enter` instead in codegen | Joshua Nelson | -3/+13 | |
| This avoids each tool having to separately find and call `self_profile_alloc_strings`. - Don't compute the global context if it hasn't yet been computed This avoids giving extraneous errors about unresolved names if an error occurs during parsing. | ||||
| 2020-12-29 | Remove `compile-fail` test suite | Vadim Petrochenkov | -2/+2 | |
| 2020-12-28 | Rollup merge of #79662 - bjorn3:move_more_code_out_of_codegen_backend, r=oli-obk | Dylan DPC | -0/+1 | |
| Move some more code out of CodegenBackend::{codegen_crate,link} Kind of a follow up to #77795 | ||||
| 2020-12-22 | Add some intra-doc links to compiler docs | Joshua Nelson | -1/+5 | |
| 2020-12-17 | Move some code out of CodegenBackend::{codegen_crate,link} | bjorn3 | -0/+1 | |
| 2020-12-01 | Fix `unknown-crate` when using self-profile with rustdoc | Joshua Nelson | -7/+5 | |
| ... by removing a duplicate `crate_name` field in `interface::Config`, making it clear that rustdoc should be passing it to `config::Options` instead. | ||||
| 2020-11-14 | Move Steal to rustc_data_structures. | Camille GILLOT | -1/+1 | |
| 2020-10-10 | Use fixed type for CodegenResults | bjorn3 | -1/+15 | |
| This also moves the -Zno-link implementation to rustc_interface | ||||
| 2020-10-10 | Move finalize_session_directory call out of cg_llvm | bjorn3 | -0/+8 | |
| This causes it to be called even when passing `-Zno-link`, when linking fails or when neither `--emit link` nor `--emit metadata` is used. | ||||
| 2020-10-10 | Move save_work_product_index call out of cg_llvm | bjorn3 | -3/+11 | |
| 2020-08-30 | mv compiler to compiler/ | mark | -0/+397 | |
