mirror of
https://github.com/rust-lang/rust.git
synced 2025-11-25 21:27:01 +00:00
CFI: Fix types that implement Fn, FnMut, or FnOnce When looking for instances which could either be dynamically called through a vtable or through a concrete trait method, we missed `FnPtrShim`, instead only looking at `Item` and closure-likes. Fixes rust-lang/rust#144641. cc ```@1c3t3a``` ```@Jakob-Koschel```
The rustc_sanitizers crate contains the source code for providing support for
the sanitizers to the Rust compiler.