mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-05 11:35:21 +03:00
0423e06ca9
Move `finish` out of the `Encoder` trait. This simplifies things, but requires making `CacheEncoder` non-generic. (This was previously merged as commit 4 in #94732 and then was reverted in #97905 because it caused a perf regression.) r? `@ghost`
Please read the rustc-dev-guide chapter on Backend Agnostic Codegen.