summary refs log tree commit diff
path: root/compiler/rustc_middle/src/hooks
AgeCommit message (Collapse)AuthorLines
2024-03-13coverage: Make `is_eligible_for_coverage` a hook methodZalathar-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-01Rename hook.Camille GILLOT-1/+1
2023-10-31Turn const_caller_location from a query to a hookOli Scherer-0/+3
2023-09-30add some docs to hooks/mod.rsRalf Jung-0/+5
2023-09-22Add tracing instrumentation, just like queries automatically add itOli Scherer-0/+1
2023-09-22Add a way to decouple the implementation and the declaration of a TyCtxt method.Oli Scherer-0/+64