about summary refs log tree commit diff
path: root/compiler/rustc_llvm/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2021-09-04 07:17:12 +0000
committerbors <bors@rust-lang.org>2021-09-04 07:17:12 +0000
commitd295e36c38bcb67783da6e318475cfa61eb1916e (patch)
tree27dfe86963d4f6903b3cbdadaa94e1478ea22c46 /compiler/rustc_llvm/src
parent065a3720b80fde1bd04c3ca8a1268b5d6eb0c985 (diff)
parentff98cb64089469fb87f48a52e0eccde531ccbd4f (diff)
downloadrust-d295e36c38bcb67783da6e318475cfa61eb1916e.tar.gz
rust-d295e36c38bcb67783da6e318475cfa61eb1916e.zip
Auto merge of #88538 - bjorn3:no_session_in_crate_loader, r=petrochenkov
CrateLocator refactorings

This makes the `CrateLocator` a lot cleaner IMHO and much more self-contained. The last commit removes `extra_filename` from the crate metadata. This is an **insta-stable** change as it allows a crate like `libfoo-abc.rlib` to be used as dependency and then be renamed as `libfoo-bcd.rlib` while still being found as indirect dependency. This may reduce performance when there are a lot of versions of the same crate available as the extra filename won't be used to do an early rejection of crates before trying to load metadata, but it makes the logic to find the right filename a lot cleaner.
Diffstat (limited to 'compiler/rustc_llvm/src')
0 files changed, 0 insertions, 0 deletions