diff options
| author | Nicholas Nethercote <n.nethercote@gmail.com> | 2022-02-02 13:16:25 +1100 |
|---|---|---|
| committer | Nicholas Nethercote <n.nethercote@gmail.com> | 2022-02-02 13:16:25 +1100 |
| commit | 0ba47f32160d4c51717b4da6449f40079a5eb317 (patch) | |
| tree | a470dc615528e53bac5cf48394e6862429b37403 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp | |
| parent | 89b61ea09f03060ceac3d0a1779dbb4152b6fddd (diff) | |
| download | rust-0ba47f32160d4c51717b4da6449f40079a5eb317.tar.gz rust-0ba47f32160d4c51717b4da6449f40079a5eb317.zip | |
Make `SearchPathFile::file_name_str` non-optional.
Currently, it can be `None` if the conversion from `OsString` fails, in which case all searches will skip over the `SearchPathFile`. The commit changes things so that the `SearchPathFile` just doesn't get created in the first place. Same behaviour, but slightly simpler code.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
