mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-08 09:38:26 +03:00
ab138e6aa8
Cache current_dll_path output
Computing the current dll path is somewhat expensive relative to other work when compiling `fn main() {}` as `dladdr` needs to iterate over the symbol table of librustc_driver.so until it finds a match.