SIGN IN SIGN UP
rust-lang / rust UNCLAIMED

Empowering everyone to build reliable and efficient software.

0 0 65 Rust

Rollup merge of #123635 - maurer:kcfi-no-assoc, r=compiler-errors

CFI: Fix ICE in KCFI non-associated function pointers

We oddly weren't testing the more usual case of casting non-methods to function pointers. The KCFI shim insertion logic would ICE on these due to asking for an irrefutable associated item if we cast a function to a function pointer without needing a traditional shim.

r? `@compiler-errors`
M
Matthias Krüger committed
0520200a9c739da59e399350e618e16c25ab5ab4
Committed by GitHub <noreply@github.com> on 4/8/2024, 8:06:24 PM