| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2024-04-16 | Rollup merge of #124016 - DaniPopes:dedup-default-providers, r=lcnr | Guillaume Gomez | -7/+8 | |
| Outline default query and hook provider function implementations The default query and hook provider functions call `bug!` with a decently long message. Due to argument inlining in `format_args!` ([`flatten_format_args`](https://github.com/rust-lang/rust/issues/78356)), this ends up duplicating the message for each query, adding ~90KB to `librustc_driver.so` of unreachable panic messages. To avoid this, we can outline the common `bug!` logic. | ||||
| 2024-04-16 | Outline default query and hook provider function implementations | DaniPopes | -7/+8 | |
| 2024-04-15 | Make thir_tree and thir_flat into hooks | Michael Goulet | -0/+6 | |
| 2024-03-27 | Make `def_path_hash_to_def_id` a hook | Oli Scherer | -0/+8 | |
| 2024-03-27 | Move `CrateStore::expn_hash_to_expn_id` to a hook | Oli Scherer | -1/+7 | |
| 2024-03-27 | Start replacing `CStore` trait methods with hooks. | Oli Scherer | -3/+8 | |
| This also avoids the cyclic definition issues with CrateStore being defined after TyCtxt, but needing to be used in TyCtxt. | ||||
| 2024-03-20 | Rename mir_const query to mir_built | Oli Scherer | -1/+1 | |
| 2024-03-20 | Replace `mir_built` query with a hook and use mir_const everywhere instead | Oli Scherer | -0/+6 | |
| 2024-03-13 | coverage: Make `is_eligible_for_coverage` a hook method | Zalathar | -0/+7 | |
| This will allow MIR building to check whether a function is eligible for coverage instrumentation, and avoid collecting branch coverage info if it is not. | ||||
| 2023-11-01 | Rename hook. | Camille GILLOT | -1/+1 | |
| 2023-10-31 | Turn const_caller_location from a query to a hook | Oli Scherer | -0/+3 | |
| 2023-09-30 | add some docs to hooks/mod.rs | Ralf Jung | -0/+5 | |
| 2023-09-22 | Add tracing instrumentation, just like queries automatically add it | Oli Scherer | -0/+1 | |
| 2023-09-22 | Add a way to decouple the implementation and the declaration of a TyCtxt method. | Oli Scherer | -0/+64 | |
