1 2 3 4 5 6 7
// bindgen-flags: --with-derive-hash --allowlist-type "AllowlistMe" --no-hash "NoHash" struct NoHash {}; class AllowlistMe { NoHash a; };