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:
20
zeroidc/vendor/cbindgen/tests/testing-helpers.h
vendored
Normal file
20
zeroidc/vendor/cbindgen/tests/testing-helpers.h
vendored
Normal file
@@ -0,0 +1,20 @@
|
||||
#ifndef testing_helpers_h
|
||||
#define testing_helpers_h
|
||||
|
||||
// This is a helper file to easily add static_asserts to C / C++ tests.
|
||||
|
||||
#ifndef __cplusplus
|
||||
#include <assert.h>
|
||||
#endif
|
||||
|
||||
#if defined(CBINDGEN_STYLE_TAG) && !defined(__cplusplus)
|
||||
#define CBINDGEN_STRUCT(name) struct name
|
||||
#define CBINDGEN_UNION(name) union name
|
||||
#define CBINDGEN_ENUM(name) enum name
|
||||
#else
|
||||
#define CBINDGEN_STRUCT(name) name
|
||||
#define CBINDGEN_UNION(name) name
|
||||
#define CBINDGEN_ENUM(name) name
|
||||
#endif
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user