mirror of
https://github.com/allankoechke/rust.git
synced 2026-12-02 09:47:57 +00:00
Fix lookup of object files I broke this in https://github.com/rust-lang/rust/pull/158823. I wanted to optimize the potentially O(n^2) object file lookup, but didn't realize that we have to search all search paths here, not only files that we already prefiltered for the lib prefixes. r? @petrochenkov Fixes: https://github.com/rust-lang/rust/issues/160446
Please read the rustc-dev-guide chapter on Backend Agnostic Codegen.