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:
11
zeroidc/vendor/cbindgen/tests/rust/generic_pointer.rs
vendored
Normal file
11
zeroidc/vendor/cbindgen/tests/rust/generic_pointer.rs
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
#[repr(C)]
|
||||
pub struct Foo<T> {
|
||||
a: T,
|
||||
}
|
||||
|
||||
pub type Boo = Foo<*mut u8>;
|
||||
|
||||
#[no_mangle]
|
||||
pub extern "C" fn root(
|
||||
x: Boo,
|
||||
) { }
|
||||
Reference in New Issue
Block a user