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. |
||
---|---|---|
.. | ||
callbacks.rs | ||
errors.rs | ||
interface.rs | ||
lib.rs | ||
passes.rs | ||
proc_macro_decls.rs | ||
queries.rs | ||
tests.rs | ||
util.rs |