From 46b36d9e98f99a1e2e580336da5b7f9868e5bd1b Mon Sep 17 00:00:00 2001 From: Red Bear OS Date: Mon, 6 Jul 2026 00:06:25 +0300 Subject: [PATCH] fix: semaphore cbindgen use [export] exclude to avoid [fn] duplicate --- src/header/semaphore/cbindgen.toml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/header/semaphore/cbindgen.toml b/src/header/semaphore/cbindgen.toml index 2b04643716..565d855377 100644 --- a/src/header/semaphore/cbindgen.toml +++ b/src/header/semaphore/cbindgen.toml @@ -15,9 +15,7 @@ style = "Type" no_includes = true cpp_compat = true -[fn] -# cbindgen cannot emit variadic functions automatically; write the sem_open -# prototype by hand in the trailer so C callers see the POSIX signature. +[export] exclude = ["sem_open"] [enum]