Files
rust/tests/ui/extern
bors 1d8f9c548d Auto merge of #150110 - Urgau:remap-relative-library, r=jieyouxu
Prefer remapping the relative `library/` and `compiler/` directories

This is done to avoid leaking the relative paths to the standard library after the overall of filenames in rust-lang/rust#149709.

Noted that the paths were already leaking before, but to a lesser extent since most (but not all) the paths embedded in the distributed `rlib` were absolute.

In general Cargo compiles workspace members with relative paths, so it's better anyway to remap the relative path.

In addition to our tests I have manually confirmed that it also works as expected for the printed diagnostics paths.

cf. https://rust-lang.zulipchat.com/#narrow/channel/131828-t-compiler/topic/remapping.20of.20the.20standard.20library/near/564093571
2025-12-19 11:45:11 +00:00
..
2025-08-09 16:27:20 +05:00
2025-11-27 11:19:00 -05:00
2025-08-14 18:18:42 +02:00
2025-07-25 20:38:54 +05:00
2025-07-25 20:38:54 +05:00
2025-07-25 20:38:54 +05:00
2025-01-07 16:04:14 +01:00
2025-08-19 09:03:54 +02:00
2025-01-07 16:04:14 +01:00
2025-01-07 16:04:14 +01:00
2024-12-12 23:36:27 +00:00
2025-01-07 16:04:14 +01:00
2025-07-31 21:25:49 +05:00