rust/compiler/rustc_query_impl/src
bors 11bbb52313 Auto merge of #83214 - cjgillot:dep-map, r=michaelwoerister
Mmap the incremental data instead of reading it.

Instead of reading the full incremental state using `fs::read_file`, we memmap it using a private read-only file-backed map.
This allows the system to reclaim any memory we are not using, while ensuring we are not polluted by
outside modifications to the file.

Suggested in https://github.com/rust-lang/rust/pull/83036#issuecomment-800458082 by `@bjorn3`
2021-09-06 23:58:16 +00:00
..
keys.rs Add query own_existential_vtable_entries 2021-09-05 18:13:32 +01:00
lib.rs Note that type aliases cannot be recursive 2021-08-27 14:50:51 -07:00
on_disk_cache.rs Comment drop_serialized_data. 2021-08-28 21:49:51 +02:00
plumbing.rs Retrieve DefKind from HIR map to reduce chance of cycles 2021-08-29 19:38:47 -07:00
profiling_support.rs Restrict access to crate_name. 2021-06-02 18:35:32 +02:00
README.md Move the query system to rustc_query_impl. 2021-02-19 17:51:58 +01:00
stats.rs Correct comments about untracked accesses. 2021-07-06 19:26:02 +02:00
util.rs Note that type aliases cannot be recursive 2021-08-27 14:50:51 -07:00
values.rs Move the query system to rustc_query_impl. 2021-02-19 17:51:58 +01:00

For more information about how the query system works, see the rustc dev guide.