mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-02 08:16:07 +03:00
68618a8f92
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.