about summary refs log tree commit diff
path: root/compiler/rustc_interface
diff options
context:
space:
mode:
authorAndy Wang <cbeuw.andy@gmail.com>2021-05-01 12:28:45 +0100
committerAndy Wang <cbeuw.andy@gmail.com>2021-05-05 15:31:32 +0100
commit0ac9ca4f88c03e6fc507ab8937573dca1ccfd2ed (patch)
tree3ea40c134bb503668dc11c20c687dc76a7b81316 /compiler/rustc_interface
parent5417b45c2676dcd396f007bd89ed0cd55d085768 (diff)
downloadrust-0ac9ca4f88c03e6fc507ab8937573dca1ccfd2ed.tar.gz
rust-0ac9ca4f88c03e6fc507ab8937573dca1ccfd2ed.zip
Add -Z simulate-remapped-rust-src-base option to simulate path virutalisation during bootstrapping
Diffstat (limited to 'compiler/rustc_interface')
-rw-r--r--compiler/rustc_interface/src/tests.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_interface/src/tests.rs b/compiler/rustc_interface/src/tests.rs
index d8c1a7a2682..33723e0b51e 100644
--- a/compiler/rustc_interface/src/tests.rs
+++ b/compiler/rustc_interface/src/tests.rs
@@ -595,6 +595,7 @@ fn test_debugging_options_tracking_hash() {
     tracked!(profile_emit, Some(PathBuf::from("abc")));
     tracked!(relax_elf_relocations, Some(true));
     tracked!(relro_level, Some(RelroLevel::Full));
+    tracked!(simulate_remapped_rust_src_base, Some(PathBuf::from("/rustc/abc")));
     tracked!(report_delayed_bugs, true);
     tracked!(sanitizer, SanitizerSet::ADDRESS);
     tracked!(sanitizer_memory_track_origins, 2);