fix: semaphore cbindgen use [export] exclude to avoid [fn] duplicate

This commit is contained in:
Red Bear OS
2026-07-06 00:06:25 +03:00
parent 844bdd5d81
commit 46b36d9e98
+1 -3
View File
@@ -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]