rust/compiler/rustc_interface/src
Dylan DPC d14bda48d5
Rollup merge of #93969 - bjorn3:codegen_backend_dep_info, r=pnkfelix
Only add codegen backend to dep info if -Zbinary-dep-depinfo is used

I am currently migrating the cg_clif build system from using a binary linked to the codegen backend as rustc replacement to passing `-Zcodegen-backend` instead. Without this PR this would force cargo to rebuild the sysroot on any change to the codegen backend even if I explicitly specify that I want it to be preserved, which would make development of cg_clif a lot slower. If you still want to have changes to the codegen backend invalidate the cargo build cache you can explicitly specify `-Zbinary-dep-depinfo`.

cc ``@eddyb`` as the codegen backend was initially added to the depinfo for rust-gpu.
2022-04-16 07:12:42 +02:00
..
callbacks.rs Remove SPAN_DEBUG global 2022-02-12 11:50:02 +01:00
interface.rs Add support for values() with --check-cfg 2022-03-03 12:00:28 +01:00
lib.rs Switch bootstrap cfgs 2022-02-25 08:00:52 -05:00
passes.rs Rollup merge of #93969 - bjorn3:codegen_backend_dep_info, r=pnkfelix 2022-04-16 07:12:42 +02:00
proc_macro_decls.rs Avoid more invocations of hir_crate query. 2021-09-29 23:16:47 +02:00
queries.rs Address review comments and add a test 2022-04-02 17:26:39 +02:00
tests.rs sess: try sysroot candidates for fluent bundle 2022-04-12 10:15:37 +01:00
util.rs sess: try sysroot candidates for fluent bundle 2022-04-12 10:15:37 +01:00