You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The c header file cannot be generated correctly. This is my project.
I entered the project root directory and entered the command cbindgen -l c, and got the following output.
I did not see the expected function prototype socks_hub_run and so on.
There's the cargo expand feature that should work, right?
emilio
changed the title
The C header file cannot be generated correctly.
Modules inside cfg_if! macros aren't read / expanded (was: The C header file cannot be generated correctly.)
Apr 5, 2024
The c header file cannot be generated correctly. This is my project.
I entered the project root directory and entered the command
cbindgen -l c
, and got the following output.I did not see the expected function prototype
socks_hub_run
and so on.The text was updated successfully, but these errors were encountered: