This was already only enabled in debug_assertions builds. Generally, it seems like most use cases that would use this could also use the -Zself-profile flag which also tracks cache hits (in all builds), and so the extra cfg's and such are not really necessary. This is largely just a small cleanup though, which primarily is intended to make other changes easier by avoiding the need to deal with this field. |
||
|---|---|---|
| .. | ||
| 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.