about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/ArchiveWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-11-27 00:03:51 +0000
committerbors <bors@rust-lang.org>2023-11-27 00:03:51 +0000
commitac9b308133a1ed0c41e48f3fb0d5d8497aa338d3 (patch)
tree47a13196580ee4fc1015c3b68610a83293308e4f /compiler/rustc_llvm/llvm-wrapper/ArchiveWrapper.cpp
parent6cf088810f66fff15d05bf7135c5f5888b7c93b4 (diff)
parentd7e9a30941e6591a4671c3df59c815dc984fd786 (diff)
downloadrust-ac9b308133a1ed0c41e48f3fb0d5d8497aa338d3.tar.gz
rust-ac9b308133a1ed0c41e48f3fb0d5d8497aa338d3.zip
Auto merge of #117584 - bjorn3:eager_output_filenames, r=b-naber
Eagerly compute output_filenames

It can be computed before creating TyCtxt. Previously the query would also write the dep info file, which meant that the output filenames couldn't be accessed before macro expansion is done. The dep info file writing is now done as a separate non-query function. The old query was always executed again anyways due to depending on the HIR.

Also encode the output_filenames in rlink files to ensure `#![crate_name]` affects the linking stage when doing separate compiling and linking using `-Zno-link`/`-Zlink-only`.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/ArchiveWrapper.cpp')
0 files changed, 0 insertions, 0 deletions