rust/compiler/rustc_incremental/src
Joshua Nelson 272015190d Add [TRACKED_NO_CRATE_HASH] and [SUBSTRUCT] directives
This is necessary for options that should invalidate the incremental
hash but *not* affect the crate hash (e.g. --remap-path-prefix).

This doesn't add `for_crate_hash` to the trait directly because it's not
relevant for *types*, only for *options*, which are fields on a larger
struct. Instead, it adds a new `SUBSTRUCT` directive for options, which
does take a `for_crate_hash` parameter.

- Use TRACKED_NO_CRATE_HASH for --remap-path-prefix
- Add test that `remap_path_prefix` is tracked
- Reduce duplication in the test suite to avoid future churn
2021-04-27 16:46:33 +00:00
..
persist Add [TRACKED_NO_CRATE_HASH] and [SUBSTRUCT] directives 2021-04-27 16:46:33 +00:00
assert_dep_graph.rs Stream the dep-graph to a file. 2021-03-30 18:09:59 +02:00
assert_module_sources.rs Remove hir::Crate::attrs. 2021-03-09 19:22:55 +01:00
lib.rs Stream the dep-graph to a file. 2021-03-30 18:09:59 +02:00