about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-04-23 20:46:48 +0000
committerbors <bors@rust-lang.org>2024-04-23 20:46:48 +0000
commit244da22fabd9fa677bbd0ac601a88e5ca6917526 (patch)
tree4027ccd0b3e983d7902e1000cb46f417df37bcea /compiler/rustc_codegen_llvm/src
parent40dcd796d094b911b8b7b55a0519fb8e3d21680f (diff)
parente9a2f8fef181a8aa0145a2665804916effb6365e (diff)
downloadrust-244da22fabd9fa677bbd0ac601a88e5ca6917526.tar.gz
rust-244da22fabd9fa677bbd0ac601a88e5ca6917526.zip
Auto merge of #123126 - oli-obk:feed_crate_num, r=davidtwco
Enable `CrateNum` query feeding via `TyCtxt`

Instead of having a magic function that violates some `TyCtxtFeed` invariants, add a `create_def` equivalent for `CrateNum`s.

Note that this still isn't tracked by the query system (unlike `create_def`), and that feeding most `CrateNum` queries for crates other than the local one will likely cause performance regressions.

These things should be attempted on their own separately, but this PR should stand on its own
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions