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:
15
zeroidc/vendor/cbindgen/tests/rust/enum_self.rs
vendored
Normal file
15
zeroidc/vendor/cbindgen/tests/rust/enum_self.rs
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
#[repr(C)]
|
||||
pub struct Foo<T> {
|
||||
something: *const i32,
|
||||
phantom: std::marker::PhantomData<T>,
|
||||
}
|
||||
|
||||
#[repr(u8)]
|
||||
pub enum Bar {
|
||||
Min(Foo<Self>),
|
||||
Max(Foo<Self>),
|
||||
Other,
|
||||
}
|
||||
|
||||
#[no_mangle]
|
||||
pub extern "C" fn root(b: Bar) {}
|
||||
Reference in New Issue
Block a user