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:
14
zeroidc/vendor/cbindgen/tests/rust/constant_constexpr.rs
vendored
Normal file
14
zeroidc/vendor/cbindgen/tests/rust/constant_constexpr.rs
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
pub const CONSTANT_I64: i64 = 216;
|
||||
pub const CONSTANT_FLOAT32: f32 = 312.292;
|
||||
pub const DELIMITER: char = ':';
|
||||
pub const LEFTCURLY: char = '{';
|
||||
#[repr(C)]
|
||||
struct Foo {
|
||||
x: i32,
|
||||
}
|
||||
|
||||
pub const SomeFoo: Foo = Foo { x: 99, };
|
||||
|
||||
impl Foo {
|
||||
pub const CONSTANT_I64_BODY: i64 = 216;
|
||||
}
|
||||
Reference in New Issue
Block a user