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:
43
zeroidc/vendor/cbindgen/tests/expectations/layout_aligned_opaque.pyx
vendored
Normal file
43
zeroidc/vendor/cbindgen/tests/expectations/layout_aligned_opaque.pyx
vendored
Normal file
@@ -0,0 +1,43 @@
|
||||
#define CBINDGEN_PACKED __attribute__ ((packed))
|
||||
#define CBINDGEN_ALIGNED(n) __attribute__ ((aligned(n)))
|
||||
|
||||
|
||||
from libc.stdint cimport int8_t, int16_t, int32_t, int64_t, intptr_t
|
||||
from libc.stdint cimport uint8_t, uint16_t, uint32_t, uint64_t, uintptr_t
|
||||
cdef extern from *:
|
||||
ctypedef bint bool
|
||||
ctypedef struct va_list
|
||||
|
||||
cdef extern from *:
|
||||
|
||||
ctypedef struct OpaqueAlign16Union:
|
||||
pass
|
||||
|
||||
ctypedef struct OpaqueAlign1Struct:
|
||||
pass
|
||||
|
||||
ctypedef struct OpaqueAlign1Union:
|
||||
pass
|
||||
|
||||
ctypedef struct OpaqueAlign2Struct:
|
||||
pass
|
||||
|
||||
ctypedef struct OpaqueAlign32Struct:
|
||||
pass
|
||||
|
||||
ctypedef struct OpaqueAlign4Struct:
|
||||
pass
|
||||
|
||||
ctypedef struct OpaqueAlign4Union:
|
||||
pass
|
||||
|
||||
ctypedef struct OpaqueAlign8Struct:
|
||||
pass
|
||||
|
||||
ctypedef packed struct PackedStruct:
|
||||
uintptr_t arg1;
|
||||
uint8_t *arg2;
|
||||
|
||||
ctypedef union PackedUnion:
|
||||
uintptr_t variant1;
|
||||
uint8_t *variant2;
|
||||
Reference in New Issue
Block a user