mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-29 18:23:49 +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 |