diff options
| author | Joshua Nelson <jyn514@gmail.com> | 2021-04-27 16:25:12 +0000 |
|---|---|---|
| committer | Joshua Nelson <jyn514@gmail.com> | 2021-04-27 16:48:25 +0000 |
| commit | 39648ea467a39afa3676d900656874947c747690 (patch) | |
| tree | 2266c1a7cd483e3c1c63789eaa422a21c150cca9 /compiler/rustc_interface | |
| parent | 272015190d058b7c802331e870b23857eeba22cd (diff) | |
| download | rust-39648ea467a39afa3676d900656874947c747690.tar.gz rust-39648ea467a39afa3676d900656874947c747690.zip | |
Make `real_rust_path_dir` a TRACKED_NO_CRATE_HASH option
This also adds support for doc-comments to Options.
Diffstat (limited to 'compiler/rustc_interface')
| -rw-r--r-- | compiler/rustc_interface/src/tests.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/compiler/rustc_interface/src/tests.rs b/compiler/rustc_interface/src/tests.rs index 62c2d3c722f..d8c1a7a2682 100644 --- a/compiler/rustc_interface/src/tests.rs +++ b/compiler/rustc_interface/src/tests.rs @@ -459,6 +459,10 @@ fn test_top_level_options_tracked_no_crate() { // Make sure that changing a [TRACKED_NO_CRATE_HASH] option leaves the crate hash unchanged but changes the incremental hash. // This list is in alphabetical order. tracked!(remap_path_prefix, vec![("/home/bors/rust".into(), "src".into())]); + tracked!( + real_rust_source_base_dir, + Some("/home/bors/rust/.rustup/toolchains/nightly/lib/rustlib/src/rust".into()) + ); } #[test] |
