about summary refs log tree commit diff
path: root/src/test/rustdoc-js-std/string-from_ut.js
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2022-01-31 07:00:44 +0100
committerGitHub <noreply@github.com>2022-01-31 07:00:44 +0100
commitcd27f1b56ed2efc51dda161da39cf1da853d6976 (patch)
tree24d0a38b1a7eeabb2e779929a89bceb386772e25 /src/test/rustdoc-js-std/string-from_ut.js
parentbc2c4feaeb43c14bd42709eb03615dfb48553950 (diff)
parentd70b9c03ec1b4abe2fa88f60934e7acdfccc7a87 (diff)
downloadrust-cd27f1b56ed2efc51dda161da39cf1da853d6976.tar.gz
rust-cd27f1b56ed2efc51dda161da39cf1da853d6976.zip
Rollup merge of #93471 - cuviper:direntry-file_type-stat, r=the8472
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