about summary refs log tree commit diff
path: root/compiler/rustc_target/src/spec/mod.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2025-04-02 10:10:50 +0000
committerbors <bors@rust-lang.org>2025-04-02 10:10:50 +0000
commitae9173d7dd4a31806c950c90dcc331f1508b4d17 (patch)
tree51bee4288cdd54cc4c214419f8e9feb21415b8ca /compiler/rustc_target/src/spec/mod.rs
parent79de6c0bbe76904ac7086b05327ee5756fb302b1 (diff)
parent49c74d29fdb04aa419f911fe9a42d13ca743b715 (diff)
downloadrust-ae9173d7dd4a31806c950c90dcc331f1508b4d17.tar.gz
rust-ae9173d7dd4a31806c950c90dcc331f1508b4d17.zip
Auto merge of #139018 - oli-obk:incremental-trait-impls, r=compiler-errors
Various local trait item iteration cleanups

Adding a trait impl for `Foo` unconditionally affected all queries that are interested in a completely independent trait `Bar`. Perf has no effect on this. We probably don't have a good perf test for this tho.

r? `@compiler-errors`

I am unsure about https://github.com/rust-lang/rust/pull/139018/commits/9d05efb66f7b599eeacb5d2456f844fe4768e865 as it doesn't improve anything wrt incremental, because we still do all the checks for valid `Drop` impls, which subsequently will still invoke many queries and basically keep the depgraph the same.

I want to do

https://github.com/rust-lang/rust/blob/9549077a47099dc826039c051b528d1013740e6f/compiler/rustc_middle/src/ty/trait_def.rs#L141

but would leave that to a follow-up PR, this one changes enough things as it is
Diffstat (limited to 'compiler/rustc_target/src/spec/mod.rs')
0 files changed, 0 insertions, 0 deletions