about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorNicholas Nethercote <n.nethercote@gmail.com>2022-02-01 16:18:39 +1100
committerNicholas Nethercote <n.nethercote@gmail.com>2022-02-02 09:06:34 +1100
commitf916f3a36b21629d58e1b8ea4dbddc0db1316903 (patch)
treef2b0f3e914ab05e880ec68b1886f6b99ba9efbc9 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parentad88831cd50ffe9cb9006bbdcb7fc9d97142e410 (diff)
downloadrust-f916f3a36b21629d58e1b8ea4dbddc0db1316903.tar.gz
rust-f916f3a36b21629d58e1b8ea4dbddc0db1316903.zip
Remove rlib special-casing in `FileSearch::search`.
This code and comment appear to be out of date.
`CrateLocator::find_library_crate` is the only caller of this function
and it handles rlib vs dylib overlap itself (see
`CrateLocator::extract_lib`) after inspecting all the files present, so
it doesn't need to see them in any particular order.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions