rust/tests
bors efa32de15b Auto merge of #150283 - Urgau:remap-debuginfo-absolute, r=jieyouxu
Remap both absolute and relative paths when building `rustc` and `std`

Turns out [#150110](https://github.com/rust-lang/rust/issues/150110) didn't work as expected, because when the standard library sources are present, we [helpfully un-remap the paths](e951f470d7/compiler/rustc_metadata/src/rmeta/decoder.rs (L1656-L1702)) to the local directory of the user, including when we are building the compiler and standard library it-self (duh!), and since those paths are absolute (not relative), our purely relative remapping didn't pick them up.

This behavior wasn't a issue before because the un-remap logic immediately tries to remap them again, and since we had the absolute remapping we would just remap them to the the same thing.

To fix that issue I've adjusted our remapping to remap both the absolute and relative paths when building `rustc` and `std`, as well as added a run-make to make sure we don't regress it again (with a new `needs-std-remap-debuginfo` directive).

r? `@jieyouxu`
2025-12-24 06:23:00 +00:00
..
assembly-llvm Nvptx: Use llbc as default linker 2025-12-19 21:39:48 +01:00
auxiliary Rework c_variadic 2025-12-04 10:51:34 +01:00
codegen-llvm Auto merge of #148766 - cjgillot:mir-const-runtime-checks, r=RalfJung,saethlin 2025-12-22 06:58:28 +00:00
codegen-units Don't treat asserts as a call in cross-crate inlining 2025-12-18 19:12:09 -05:00
coverage Auto merge of #142821 - cjgillot:jump-threading-single, r=saethlin 2025-12-01 23:44:49 +00:00
coverage-run-rustdoc
crashes Lower hir::ConstArgKind::Struct to a ValTree 2025-12-23 13:54:59 +00:00
debuginfo tests/debuginfo/function-arg-initialization.rs: Stop disabling SingleUseConsts MIR pass 2025-12-20 20:35:30 +01:00
incremental Add unsafe to no_mangle incremental tests 2025-12-03 17:00:22 +01:00
mir-opt Auto merge of #148766 - cjgillot:mir-const-runtime-checks, r=RalfJung,saethlin 2025-12-22 06:58:28 +00:00
pretty Rollup merge of #150130 - aerooneqq:delegation-one-line-trait-impl, r=petrochenkov 2025-12-23 12:01:01 +01:00
run-make Auto merge of #150283 - Urgau:remap-debuginfo-absolute, r=jieyouxu 2025-12-24 06:23:00 +00:00
run-make-cargo tests/run-make-cargo/same-crate-name-and-macro-name: New regression test 2025-12-17 11:21:27 +01:00
rustdoc Auto merge of #150228 - matthiaskrgr:rollup-ymp54q0, r=matthiaskrgr 2025-12-22 01:58:47 +00:00
rustdoc-gui Make implementors list visible only when filled 2025-12-10 16:18:22 +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 Rollup merge of #149949 - JonathanBrouwer:error_cleanup, r=jdonszelmann 2025-12-14 20:04:56 +01:00
ui Auto merge of #150324 - matthiaskrgr:rollup-cl7wrqn, r=matthiaskrgr 2025-12-24 03:02:44 +00:00
ui-fulldeps Update ui-fulldeps test. 2025-12-14 17:25:53 +00:00
COMPILER_TESTS.md