rust/tests
Urgau 8cbfb26383 Overhaul filename handling for cross-compiler consistency
This commit refactors `SourceMap` and most importantly `RealFileName` to
make it self-contained in order to achieve cross-compiler consistency.

This is achieved:
 - by making `RealFileName` immutable
 - by only having `SourceMap::to_real_filename` create `RealFileName`
 - by also making `RealFileName` holds it's working directory,
   it's embeddable name and the remapped scopes
 - by making most `FileName` and `RealFileName` methods take a scope as
   an argument

In order for `SourceMap::to_real_filename` to know which scopes to apply
`FilePathMapping` now takes the current remapping scopes to apply, which
makes `FileNameDisplayPreference` and company useless and are removed.

The scopes type `RemapPathScopeComponents` was moved from
`rustc_session::config` to `rustc_span`.

The previous system for scoping the local/remapped filenames
`RemapFileNameExt::for_scope` is no longer useful as it's replaced by
methods on `FileName` and `RealFileName`.
2025-12-12 07:33:09 +01:00
..
assembly-llvm Rollup merge of #149409 - cezarbbb:stable_ssp, r=SparrowLii 2025-11-29 21:12:26 +11:00
auxiliary Rework c_variadic 2025-12-04 10:51:34 +01:00
codegen-llvm Rollup merge of #149679 - pmur:murp/ppc-inline-improvements, r=Amanieu 2025-12-10 07:54:20 +01:00
codegen-units Add #[inline] to Layout::is_size_align_valid 2025-12-06 19:47:13 -06:00
coverage Auto merge of #142821 - cjgillot:jump-threading-single, r=saethlin 2025-12-01 23:44:49 +00:00
coverage-run-rustdoc
crashes Auto merge of #148602 - BoxyUwU:coercion_cleanup_uncontroversial, r=lcnr 2025-12-05 11:46:41 +00:00
debuginfo debuginfo/macro-stepping test: extend comments 2025-12-01 22:32:36 +01:00
incremental Add unsafe to no_mangle incremental tests 2025-12-03 17:00:22 +01:00
mir-opt Auto merge of #149426 - antoyo:libgccjit-targets, r=Kobzol 2025-12-09 01:58:46 +00:00
pretty Rollup merge of #149489 - scottmcm:try-bikeshed, r=nnethercote 2025-12-10 17:16:47 +01:00
run-make Overhaul filename handling for cross-compiler consistency 2025-12-12 07:33:09 +01:00
run-make-cargo Skip the panic-immediate-abort-works test when cross-compiling 2025-09-22 21:13:38 -04:00
rustdoc Correctly iterate doc comments in intra-doc resolution in rustc_resolve 2025-12-10 12:28:07 +01:00
rustdoc-gui Fix invalid link generation for type alias methods 2025-11-24 17:01:32 +01:00
rustdoc-js Auto merge of #149370 - Zalathar:rollup-6fkk5x4, r=Zalathar 2025-11-27 07:30:25 +00:00
rustdoc-js-std std: Use more unix.rs code on WASI targets 2025-12-08 06:46:28 -08:00
rustdoc-json Add tests for doc(attribute = "...") attribute 2025-08-28 15:56:30 +02:00
rustdoc-ui Update to new API, allowing to remove check_doc_cfg.rs file from librustdoc 2025-12-10 12:28:08 +01:00
ui Overhaul filename handling for cross-compiler consistency 2025-12-12 07:33:09 +01:00
ui-fulldeps Make typo in field and name suggestions verbose 2025-12-09 17:29:23 +00:00
COMPILER_TESTS.md