]> git.lizzy.rs Git - rust.git/commit
Auto merge of #89619 - michaelwoerister:incr-vtables, r=nagisa
authorbors <bors@rust-lang.org>
Fri, 8 Oct 2021 09:04:06 +0000 (09:04 +0000)
committerbors <bors@rust-lang.org>
Fri, 8 Oct 2021 09:04:06 +0000 (09:04 +0000)
commit2228c49544c055d6a8e86346d2d6932dbfb2a898
treed3de2cb4310adb77d265d651d74fc1eb40da63db
parent03c02be0a7778d103c205acebcd4f8035736286b
parent095064b9960f85bdf371f7448b3b93d28ba6168f
Auto merge of #89619 - michaelwoerister:incr-vtables, r=nagisa

Turn vtable_allocation() into a query

This PR removes the untracked vtable-const-allocation cache from the `tcx` and turns the `vtable_allocation()` method into a query.

The change is pretty straightforward and should be backportable without too much effort.

Fixes https://github.com/rust-lang/rust/issues/89598.