diff options
| author | Joshua Nelson <jyn514@gmail.com> | 2021-04-15 19:25:01 -0400 |
|---|---|---|
| committer | Joshua Nelson <jyn514@gmail.com> | 2021-04-27 16:46:33 +0000 |
| commit | 272015190d058b7c802331e870b23857eeba22cd (patch) | |
| tree | a927ab1798e297958c4052f39b0ae3ae21ada48e /compiler/rustc_mir/src/transform/coverage/mod.rs | |
| parent | fb7018b41e66aa2edfaf2d4fbb8fe260cb411ac2 (diff) | |
| download | rust-272015190d058b7c802331e870b23857eeba22cd.tar.gz rust-272015190d058b7c802331e870b23857eeba22cd.zip | |
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
Diffstat (limited to 'compiler/rustc_mir/src/transform/coverage/mod.rs')
0 files changed, 0 insertions, 0 deletions
