diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2023-05-31 11:19:07 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-05-31 11:19:07 +0200 |
| commit | ef82bd4b5508f7b55ecae7f1b12613018fbf51ae (patch) | |
| tree | 6c69ab7b1fea8d21397c6af6a0ccf8375988e390 /tests/rustdoc-js-std/parser-errors.js | |
| parent | fd1c0d8585fa5de58fa0daa31d21aab63619a00c (diff) | |
| parent | 157d936c31e4f5ff51cc6f20c748e16537f33b9c (diff) | |
| download | rust-ef82bd4b5508f7b55ecae7f1b12613018fbf51ae.tar.gz rust-ef82bd4b5508f7b55ecae7f1b12613018fbf51ae.zip | |
Rollup merge of #111975 - jyn514:normalization, r=cjgillot
Stop normalizing so many different prefixes Previously, we would normalize *all* of - the absolute path to the repository checkout - the /rustc/$sha for stage1 (if `remap-debuginfo` was enabled) - the /rustc/$sha for download-rustc - the sysroot for download-rustc Now, we consistently only normalize /rustc/FAKE_PREFIX. Not only is this much simpler, but it also avoids ongoing maintenance for download-rustc and makes it much less likely that tests break by accident. - Change `tests/ui/track-diagnostics/track6.rs` to use a relative path instead of an absolute one. I am not actually sure why `track_caller` works here, but it does seem to work :shrug: - Pass `-Zsimulate-remapped-rust-src-base=/rustc/FAKE_PREFIX` to all suites, not just UI. In particular, mir-opt tests emit /rustc/ paths in their output. r? ```@cjgillot``` since you reviewed https://github.com/rust-lang/rust/pull/110699 - this is the test that it doesn't regress :)
Diffstat (limited to 'tests/rustdoc-js-std/parser-errors.js')
0 files changed, 0 insertions, 0 deletions
