mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 09:14:20 +00:00
2a39cf560f
Add `try_canonicalize` to `rustc_fs_util` and use it over `fs::canonicalize` This adds `try_canonicalize` which tries to call `fs::canonicalize`, but falls back to `std::path::absolute` if it fails. Existing `canonicalize` calls are replaced with it. `fs::canonicalize` is not guaranteed to work on Windows. |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
messages.ftl |