diff options
| author | Dylan DPC <99973273+Dylan-DPC@users.noreply.github.com> | 2022-06-11 12:59:27 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-06-11 12:59:27 +0200 |
| commit | b7b5045364ab8835ca7642feb5cb931fc77d7f65 (patch) | |
| tree | ee086f527f79720d59c05ed36781932db360a016 /compiler/rustc_interface/src | |
| parent | 11d8ae2c7151b0b83f9c39594fdb47d8fa4d6ef2 (diff) | |
| parent | 410e2832e4037c786fbf037aae7b0907336f8809 (diff) | |
| download | rust-b7b5045364ab8835ca7642feb5cb931fc77d7f65.tar.gz rust-b7b5045364ab8835ca7642feb5cb931fc77d7f65.zip | |
Rollup merge of #97789 - ferrocene:pa-fix-issue-71363-test, r=cjgillot
Fix #71363's test by adding `-Z translate-remapped-path-to-local-path=no` The test relies on `library/std/src/error.rs` not corresponding to a local path, but remapping might still find the related local file of a remapped path. To fix the test, this PR adds a new `-Z` flag to disable finding the corresponding local path of a remapped path.
Diffstat (limited to 'compiler/rustc_interface/src')
| -rw-r--r-- | compiler/rustc_interface/src/tests.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_interface/src/tests.rs b/compiler/rustc_interface/src/tests.rs index f2cfbea207e..3747fb5eca0 100644 --- a/compiler/rustc_interface/src/tests.rs +++ b/compiler/rustc_interface/src/tests.rs @@ -789,6 +789,7 @@ fn test_debugging_options_tracking_hash() { tracked!(thinlto, Some(true)); tracked!(thir_unsafeck, true); tracked!(tls_model, Some(TlsModel::GeneralDynamic)); + tracked!(translate_remapped_path_to_local_path, false); tracked!(trap_unreachable, Some(false)); tracked!(treat_err_as_bug, NonZeroUsize::new(1)); tracked!(tune_cpu, Some(String::from("abc"))); |
