about summary refs log tree commit diff
path: root/compiler/rustc_interface/src/queries.rs
AgeCommit message (Collapse)AuthorLines
2021-02-19Make QueryEngine opaque to TyCtxt.Camille GILLOT-1/+5
2021-01-23Calculate self-profile strings in `Compiler::enter` instead in codegenJoshua Nelson-3/+13
This avoids each tool having to separately find and call `self_profile_alloc_strings`. - Don't compute the global context if it hasn't yet been computed This avoids giving extraneous errors about unresolved names if an error occurs during parsing.
2020-12-29Remove `compile-fail` test suiteVadim Petrochenkov-2/+2
2020-12-28Rollup merge of #79662 - bjorn3:move_more_code_out_of_codegen_backend, r=oli-obkDylan DPC-0/+1
Move some more code out of CodegenBackend::{codegen_crate,link} Kind of a follow up to #77795
2020-12-22Add some intra-doc links to compiler docsJoshua Nelson-1/+5
2020-12-17Move some code out of CodegenBackend::{codegen_crate,link}bjorn3-0/+1
2020-12-01Fix `unknown-crate` when using self-profile with rustdocJoshua Nelson-7/+5
... by removing a duplicate `crate_name` field in `interface::Config`, making it clear that rustdoc should be passing it to `config::Options` instead.
2020-11-14Move Steal to rustc_data_structures.Camille GILLOT-1/+1
2020-10-10Use fixed type for CodegenResultsbjorn3-1/+15
This also moves the -Zno-link implementation to rustc_interface
2020-10-10Move finalize_session_directory call out of cg_llvmbjorn3-0/+8
This causes it to be called even when passing `-Zno-link`, when linking fails or when neither `--emit link` nor `--emit metadata` is used.
2020-10-10Move save_work_product_index call out of cg_llvmbjorn3-3/+11
2020-08-30mv compiler to compiler/mark-0/+397