RPM build fix (reverted CI changes which will need to be un-reverted or made conditional) and vendor Rust dependencies to make builds much faster in any CI system.
This commit is contained in:
22
zeroidc/vendor/cbindgen/tests/rust/layout_aligned_opaque.toml
vendored
Normal file
22
zeroidc/vendor/cbindgen/tests/rust/layout_aligned_opaque.toml
vendored
Normal file
@@ -0,0 +1,22 @@
|
||||
header = """
|
||||
#define CBINDGEN_PACKED __attribute__ ((packed))
|
||||
#define CBINDGEN_ALIGNED(n) __attribute__ ((aligned(n)))
|
||||
"""
|
||||
|
||||
[layout]
|
||||
# We do not define aligned_n.
|
||||
packed = "CBINDGEN_PACKED"
|
||||
|
||||
[export]
|
||||
include = [
|
||||
"PackedStruct",
|
||||
"PackedUnion",
|
||||
"OpaqueAlign1Union",
|
||||
"OpaqueAlign4Union",
|
||||
"OpaqueAlign16Union",
|
||||
"OpaqueAlign1Struct",
|
||||
"OpaqueAlign2Struct",
|
||||
"OpaqueAlign4Struct",
|
||||
"OpaqueAlign8Struct",
|
||||
"OpaqueAlign32Struct",
|
||||
]
|
||||
Reference in New Issue
Block a user