diff options
| author | Manish Goregaokar <manishsmail@gmail.com> | 2020-07-30 13:04:40 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-07-30 13:04:40 -0700 |
| commit | 0a45b1303cafc39458ffd3944dcf74c8b4200df6 (patch) | |
| tree | 6c8eba3632788e9533700ca7d33cd9df9060c886 /src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs | |
| parent | 2c6c764d9a37b0954afe8d005c8566dcbf12380d (diff) | |
| parent | cd8bdb5eb9a7440fa64500218f43b04429e64fc1 (diff) | |
| download | rust-0a45b1303cafc39458ffd3944dcf74c8b4200df6.tar.gz rust-0a45b1303cafc39458ffd3944dcf74c8b4200df6.zip | |
Rollup merge of #74915 - alexcrichton:allow-failing-canonicalize, r=Mark-Simulacrum
rustc: Ignore fs::canonicalize errors in metadata This commit updates the metadata location logic to ignore errors when calling `fs::canonicalize`. Canonicalization was added historically so multiple `-L` paths to the same directory don't print errors about multiple candidates (since rustc can deduplicate same-named paths), but canonicalization doesn't work on all filesystems. Cargo, for example, always uses this sort of fallback where it will opportunitistically try to canonicalize but fall back to using the input path if it otherwise doesn't work. If rustc is run on a filesystem that doesn't support canonicalization then the effect of this change will be that `-L` paths which logically point to the same directory will cause errors, but that's a rare enough occurrence it shouldn't cause much issue in practice. Otherwise rustc doesn't work at all today on those sorts of filesystem where canonicalization isn't supported!
Diffstat (limited to 'src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs')
0 files changed, 0 insertions, 0 deletions
