diff options
| author | bors <bors@rust-lang.org> | 2021-05-21 05:47:24 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2021-05-21 05:47:24 +0000 |
| commit | f36b137074407ce857e34337bc92f10e26bc3994 (patch) | |
| tree | 728ac4c791398ad6823f907277cff58f53b519cf /compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp | |
| parent | 6f5a198ffc0b624783a81e57e1d29c69283949c1 (diff) | |
| parent | 86dbc063ab15e67b2b7ed5411eb9fec9f7afbcb4 (diff) | |
| download | rust-f36b137074407ce857e34337bc92f10e26bc3994.tar.gz rust-f36b137074407ce857e34337bc92f10e26bc3994.zip | |
Auto merge of #85060 - ChrisDenton:win-file-exists, r=yaahc
Windows implementation of feature `path_try_exists` Draft of a Windows implementation of `try_exists` (#83186). The first commit reorganizes the code so I would be interested to get some feedback on if this is a good idea or not. It moves the `Path::try_exists` function to `fs::exists`. leaving the former as a wrapper for the latter. This makes it easier to provide platform specific implementations and matches the `fs::metadata` function. The other commit implements a Windows specific variant of `exists`. I'm still figuring out my approach so this is very much a first draft. Eventually this will need some more eyes from knowledgable Windows people.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
