xref: /openbmc/linux/rust/bindgen_parameters (revision 0da908c2)
1# SPDX-License-Identifier: GPL-2.0
2
3--opaque-type xregs_state
4--opaque-type desc_struct
5--opaque-type arch_lbr_state
6--opaque-type local_apic
7
8# Packed type cannot transitively contain a `#[repr(align)]` type.
9--opaque-type x86_msi_data
10--opaque-type x86_msi_addr_lo
11
12# `try` is a reserved keyword since Rust 2018; solved in `bindgen` v0.59.2,
13# commit 2aed6b021680 ("context: Escape the try keyword properly").
14--opaque-type kunit_try_catch
15
16# If SMP is disabled, `arch_spinlock_t` is defined as a ZST which triggers a Rust
17# warning. We don't need to peek into it anyway.
18--opaque-type spinlock
19
20# `seccomp`'s comment gets understood as a doctest
21--no-doc-comments
22