about summary refs log tree commit diff
path: root/src/test/rustdoc-js-std/string-from_ut.js
diff options
context:
space:
mode:
authorJosh Stone <jistone@redhat.com>2022-01-29 16:58:18 -0800
committerJosh Stone <jistone@redhat.com>2022-01-29 16:58:18 -0800
commitd70b9c03ec1b4abe2fa88f60934e7acdfccc7a87 (patch)
tree89b08f13449cd98b19a99842ec887014258353ff /src/test/rustdoc-js-std/string-from_ut.js
parenta00e130dae74a213338e2b095ec855156d8f3d8a (diff)
downloadrust-d70b9c03ec1b4abe2fa88f60934e7acdfccc7a87.tar.gz
rust-d70b9c03ec1b4abe2fa88f60934e7acdfccc7a87.zip
unix: Use metadata for `DirEntry::file_type` fallback
When `DirEntry::file_type` fails to match a known `d_type`, we should
fall back to `DirEntry::metadata` instead of a bare `lstat`, because
this is faster and more reliable on targets with `fstatat`.
Diffstat (limited to 'src/test/rustdoc-js-std/string-from_ut.js')
0 files changed, 0 insertions, 0 deletions