about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorDylan DPC <dylan.dpc@gmail.com>2021-05-08 01:06:26 +0200
committerGitHub <noreply@github.com>2021-05-08 01:06:26 +0200
commitb5092627c75cde5c5bb99a1850633baf9aedd1a4 (patch)
treecbf524ef27e3f5d4140a3a435c9f09cb74ff9196 /compiler/rustc_codegen_llvm/src
parentb4a00205d8487379c3534b72ecdf0d4d453b4a86 (diff)
parentd9a58f4c87acce4c413b6bfb93916823bafbd68b (diff)
downloadrust-b5092627c75cde5c5bb99a1850633baf9aedd1a4.tar.gz
rust-b5092627c75cde5c5bb99a1850633baf9aedd1a4.zip
Rollup merge of #85044 - ChrisDenton:file-exists, r=jackh726
Use `path.exists()` instead of `fs::metadata(path).is_ok()`

It's more explicit and potentially allows platforms to optimize the existence check.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions