rust/compiler/rustc_interface/src
DianQK 350e7f858e
Rollup merge of #134514 - bjorn3:more_driver_refactors, r=jieyouxu
Improve dependency_format a bit

* Make `DependencyList` an `IndexVec` rather than emulating one using a `Vec` (which was off-by-one as LOCAL_CRATE was intentionally skipped)
* Update some comments for the fact that we now use `#[global_allocator]` rather than `extern crate alloc_system;`/`extern crate alloc_jemalloc;` for specifying which allocator to use. We still use a similar mechanism for the panic runtime, so refer to the panic runtime in those comments instead.
* An unrelated refactor to `create_and_enter_global_ctxt` I forgot to include in https://github.com/rust-lang/rust/pull/134302. This refactor is too small to be worth it's own PR.
2024-12-20 21:47:00 +08:00
..
callbacks.rs Do not call source_span when not tracking dependencies. 2024-08-24 16:40:40 +00:00
errors.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
interface.rs Re-export more rustc_span::symbol things from rustc_span. 2024-12-18 13:38:53 +11:00
lib.rs Remove the parse query 2024-12-14 14:24:49 +00:00
passes.rs Minor cleanup 2024-12-19 15:30:32 +00:00
proc_macro_decls.rs Re-export more rustc_span::symbol things from rustc_span. 2024-12-18 13:38:53 +11:00
queries.rs Remove the parse query 2024-12-14 14:24:49 +00:00
tests.rs coverage: Add a synthetic test for when all spans are discarded 2024-12-19 22:03:43 +11:00
util.rs Re-export more rustc_span::symbol things from rustc_span. 2024-12-18 13:38:53 +11:00