rust/compiler/rustc_metadata/src
Chris Denton 2d4f1130a2
Rollup merge of #139834 - ChrisDenton:spf, r=WaffleLapkin
Don't canonicalize crate paths

When printing paths in diagnostic we should favour printing the paths that were passed in rather than resolving all symlinks.

This PR changes the form of the crate path but it should only really affect diagnostics as filesystem functions won't care which path is used. The uncanonicalized path was already used as a fallback for when canonicalization failed.

This is a partial alternative to #139823.
2025-04-19 15:09:35 +00:00
..
rmeta Replace infallible name_or_empty methods with fallible name methods. 2025-04-17 09:50:52 +10:00
creader.rs Make LevelAndSource a struct 2025-04-03 09:17:55 +00:00
dependency_format.rs Support rmeta inputs for --crate-type=bin --emit=obj 2025-03-07 18:33:05 +01:00
errors.rs Add an error when full metadata was not found 2025-03-31 09:44:41 +02:00
foreign_modules.rs Move some Map methods onto TyCtxt. 2025-02-17 13:21:02 +11:00
fs.rs Store only a metadata stub into rlibs and dylibs with -Zembed-metadata=no 2025-03-31 09:44:41 +02:00
lib.rs Remove recursion_limit increases. 2025-04-02 16:25:27 +11:00
locator.rs Don't canonicalize crate paths 2025-04-16 17:42:38 +00:00
native_libs.rs Replace infallible name_or_empty methods with fallible name methods. 2025-04-17 09:50:52 +10:00