Add -Z simulate-remapped-rust-src-base option to simulate path virutalisation during bootstrapping

This commit is contained in:
Andy Wang 2021-05-01 12:28:45 +01:00
parent 5417b45c26
commit 0ac9ca4f88
No known key found for this signature in database
GPG key ID: 181B49F9F38F3374
4 changed files with 35 additions and 3 deletions

View file

@ -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);