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:
50
zeroidc/vendor/cbindgen/tests/expectations/nonzero.cpp
vendored
Normal file
50
zeroidc/vendor/cbindgen/tests/expectations/nonzero.cpp
vendored
Normal file
@@ -0,0 +1,50 @@
|
||||
#if 0
|
||||
''' '
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
struct NonZeroI64;
|
||||
#endif
|
||||
|
||||
#if 0
|
||||
' '''
|
||||
#endif
|
||||
|
||||
|
||||
#include <cstdarg>
|
||||
#include <cstdint>
|
||||
#include <cstdlib>
|
||||
#include <ostream>
|
||||
#include <new>
|
||||
|
||||
template<typename T = void>
|
||||
struct Option;
|
||||
|
||||
struct NonZeroTest {
|
||||
uint8_t a;
|
||||
uint16_t b;
|
||||
uint32_t c;
|
||||
uint64_t d;
|
||||
int8_t e;
|
||||
int16_t f;
|
||||
int32_t g;
|
||||
int64_t h;
|
||||
int64_t i;
|
||||
const Option<int64_t> *j;
|
||||
};
|
||||
|
||||
extern "C" {
|
||||
|
||||
void root(NonZeroTest test,
|
||||
uint8_t a,
|
||||
uint16_t b,
|
||||
uint32_t c,
|
||||
uint64_t d,
|
||||
int8_t e,
|
||||
int16_t f,
|
||||
int32_t g,
|
||||
int64_t h,
|
||||
int64_t i,
|
||||
const Option<int64_t> *j);
|
||||
|
||||
} // extern "C"
|
||||
Reference in New Issue
Block a user