rust/compiler/rustc_session/src
bors 4af886f8ab Auto merge of #116731 - Alexendoo:hash-untracked-state, r=oli-obk
Add `Config::hash_untracked_state` callback

For context, I'm looking to use [late module passes](https://doc.rust-lang.org/nightly/nightly-rustc/rustc_lint/context/struct.LintStore.html#structfield.late_module_passes) in Clippy which unlike regular late passes run incrementally per module

However we have a config file which can change between runs, we need changes to that to invalidate the `lint_mod` query. This PR adds a side channel for us to hash some extra state into `Options` in order to do that

This does not make any changes to Clippy, I plan to do that in a PR to the Clippy repo along with some other required changes

An alternative implementation would be to add a new query to track this state and override the `lint_mod` query in Clippy to first call that

cc `@rust-lang/clippy`
2023-10-16 16:33:42 +00:00
..
config Change process spawning to inherit the parent's signal mask by default 2022-10-20 14:53:38 -07:00
code_stats.rs fix couple of clippy findings: 2023-07-23 10:50:14 +02:00
config.rs Add Config::hash_untracked_state callback 2023-10-14 15:54:26 +00:00
cstore.rs Use FreezeLock for CStore 2023-09-09 16:02:11 +02:00
errors.rs Remove cgu_reuse_tracker from Session 2023-10-09 18:39:41 +00:00
filesearch.rs bump windows crate 0.46 -> 0.48 in workspace 2023-05-09 18:20:13 +03:00
lib.rs Auto merge of #115964 - bjorn3:cgu_reuse_tracker_global_state, r=cjgillot 2023-10-13 00:09:30 +00:00
options.rs Add Config::hash_untracked_state callback 2023-10-14 15:54:26 +00:00
output.rs Format all the let chains in compiler 2023-10-13 08:59:36 +00:00
parse.rs Rename ACTIVE_FEATURES as UNSTABLE_FEATURES. 2023-10-16 08:17:23 +11:00
search_paths.rs Provide more context for rustc +nightly -Zunstable-options on stable 2023-06-27 23:23:33 +08:00
session.rs Remove cgu_reuse_tracker from Session 2023-10-09 18:39:41 +00:00
utils.rs Format all the let chains in compiler 2023-10-13 08:59:36 +00:00