about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm
diff options
context:
space:
mode:
authorJosh Stone <jistone@redhat.com>2022-03-08 13:36:01 -0800
committerJosh Stone <jistone@redhat.com>2022-03-08 13:36:01 -0800
commite8b9ba84be772b6888f17c940ecdab0fdcdcb3c5 (patch)
treefb0c023ee11db198cbaeba8620ab59179249bc69 /compiler/rustc_codegen_llvm
parent64187b837486be90b897c7014572aa3537dc9b27 (diff)
downloadrust-e8b9ba84be772b6888f17c940ecdab0fdcdcb3c5.tar.gz
rust-e8b9ba84be772b6888f17c940ecdab0fdcdcb3c5.zip
unix: reduce the size of DirEntry
On platforms where we call `readdir` instead of `readdir_r`, we store
the name as an allocated `CString` for variable length. There's no point
carrying around a full `dirent64` with its fixed-length `d_name` too.
Diffstat (limited to 'compiler/rustc_codegen_llvm')
0 files changed, 0 insertions, 0 deletions