Skip to content

Commit 562c259

Browse files
authored
Merge pull request Rust-for-Linux#849 from ojeda/x86-msi-opaque-types
rust: bindgen: add `x86_msi_{data,addr_lo}` as opaque types
2 parents 29c2a45 + 00dd4e8 commit 562c259

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

rust/bindgen_parameters

+4
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@
55
--opaque-type arch_lbr_state
66
--opaque-type local_apic
77

8+
# Packed type cannot transitively contain a `#[repr(align)]` type.
9+
--opaque-type x86_msi_data
10+
--opaque-type x86_msi_addr_lo
11+
812
# `try` is a reserved keyword since Rust 2018; solved in `bindgen` v0.59.2,
913
# commit 2aed6b021680 ("context: Escape the try keyword properly").
1014
--opaque-type kunit_try_catch

0 commit comments

Comments
 (0)