mirror of
https://github.com/rust-lang/rust.git
synced 2025-05-04 05:57:36 +00:00
![]() 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` |
||
---|---|---|
.. | ||
keys.rs | ||
lib.rs | ||
on_disk_cache.rs | ||
plumbing.rs | ||
profiling_support.rs | ||
README.md | ||
stats.rs | ||
util.rs | ||
values.rs |
For more information about how the query system works, see the rustc dev guide.