fix many configurations
Some checks failed
Rust / build (pull_request) Failing after 3m22s

This commit is contained in:
Vinzenz Schroeter 2025-05-03 19:15:20 +02:00
parent 04223022a2
commit bfef70f686
6 changed files with 59 additions and 53 deletions

View file

@ -67,3 +67,6 @@ pub(crate) unsafe fn heap_drop<T>(x: NonNull<T>) {
pub(crate) unsafe fn heap_remove<T>(x: NonNull<T>) -> T {
unsafe { *Box::from_raw(x.as_ptr()) }
}
/// This is a type only used by cbindgen to have a type for pointers.
pub struct UdpSocket;