change typedef style, add optional logging
Some checks failed
Rust / build-gnu-apt (pull_request) Failing after 1m24s
Rust / build-size-gnu-unstable (pull_request) Failing after 1m28s

This commit is contained in:
Vinzenz Schroeter 2025-05-16 00:33:27 +02:00
parent 0c6efcee56
commit 389ced492c
6 changed files with 286 additions and 163 deletions

View file

@ -43,3 +43,11 @@ pub struct UdpSocket;
/// This is a type only used by cbindgen to have a type for pointers.
pub struct DisplayBitVec;
#[cfg(feature = "env_logger")]
pub mod feature_env_logger {
#[no_mangle]
pub unsafe extern "C" fn init_env_logger() {
env_logger::init();
}
}