diff options
| author | Josh Stone <jistone@redhat.com> | 2022-03-08 13:36:01 -0800 |
|---|---|---|
| committer | Josh Stone <jistone@redhat.com> | 2022-03-08 13:36:01 -0800 |
| commit | e8b9ba84be772b6888f17c940ecdab0fdcdcb3c5 (patch) | |
| tree | fb0c023ee11db198cbaeba8620ab59179249bc69 /compiler/rustc_codegen_llvm/src | |
| parent | 64187b837486be90b897c7014572aa3537dc9b27 (diff) | |
| download | rust-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/src')
0 files changed, 0 insertions, 0 deletions
