diff options
| author | The 8472 <git@infinite-source.de> | 2022-02-06 11:43:50 +0100 |
|---|---|---|
| committer | The 8472 <git@infinite-source.de> | 2022-02-06 11:43:50 +0100 |
| commit | 45082b077b4991361f451701d0a9467ce123acdf (patch) | |
| tree | 6dd7fbcc61e17792dacf77d2e1b5e55c61b1780d /compiler/rustc_codegen_llvm/src | |
| parent | 686663a49e57870c78a4cd047f23a44175fc67a4 (diff) | |
| download | rust-45082b077b4991361f451701d0a9467ce123acdf.tar.gz rust-45082b077b4991361f451701d0a9467ce123acdf.zip | |
Fix hashing for windows paths containing a CurDir component
* the logic only checked for / but not for \ * verbatim paths shouldn't skip items at all since they don't get normalized * the extra branches get optimized out on unix since is_sep_byte is a trivial comparison and is_verbatim is always-false * tests lacked windows coverage for these cases That lead to equal paths not having equal hashes and to unnecessary collisions.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions
