os-rust/compiler/rustc_interface
bors ac9b308133 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`.
2023-11-27 00:03:51 +00:00
..
src Auto merge of #117584 - bjorn3:eager_output_filenames, r=b-naber 2023-11-27 00:03:51 +00:00
Cargo.toml Call FileEncoder::finish in rmeta encoding 2023-11-22 22:49:22 -05:00
messages.ftl Write to stdout if - is given as output file 2023-06-06 17:53:29 -04:00