Closed luodongseu closed 3 months ago
We can't expand macros by default, see the expand option in the docs for workarounds.
For include!
in particular perhaps we could expand it ourselves tho... Maybe worth a patch if somebody wants to submit it :)
I have a rust file named c.rs which import by include! in lib.rs and cbindgen generate c header file cannot include the file content, and I don't know how to resolve it.
lib.rs
And c.rs content: