From f1ec5a485652c454cab4b550914017f143e708ca Mon Sep 17 00:00:00 2001 From: auronandace Date: Thu, 12 Feb 2026 14:28:47 +0000 Subject: [PATCH] add cbindgen struct to bits file --- src/header/bits_time/mod.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/header/bits_time/mod.rs b/src/header/bits_time/mod.rs index c5f31b07f5..c564826efc 100644 --- a/src/header/bits_time/mod.rs +++ b/src/header/bits_time/mod.rs @@ -66,3 +66,6 @@ impl timespec { return self.tv_nsec == 0 && self.tv_sec == 0; } } + +#[unsafe(no_mangle)] +pub unsafe extern "C" fn cbindgen_stupid_alias_timespec(_: timespec) {}