diff options
| author | Dylan DPC <99973273+Dylan-DPC@users.noreply.github.com> | 2022-03-08 22:44:00 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-03-08 22:44:00 +0100 |
| commit | a67b6299b4b738e2f0482eba0549e64f8b5081a7 (patch) | |
| tree | f914797a874d9b075421dc824f2c6186b15fbff2 /compiler/rustc_codegen_llvm/src | |
| parent | ff54e34463c1af0025e29d41ebfbc1dfb4083e15 (diff) | |
| parent | ef3e33bd16b1392f8f238c1224cd58d5fb95b555 (diff) | |
| download | rust-a67b6299b4b738e2f0482eba0549e64f8b5081a7.tar.gz rust-a67b6299b4b738e2f0482eba0549e64f8b5081a7.zip | |
Rollup merge of #94724 - cuviper:rmdirall-cstr, r=Dylan-DPC
unix: Avoid name conversions in `remove_dir_all_recursive` Each recursive call was creating an `OsString` for a `&Path`, only for it to be turned into a `CString` right away. Instead we can directly pass `.name_cstr()`, saving two allocations each time.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions
