We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Make a pass that executes bindgen during the build.
This would build the jsapi module automatically based on the header files:
#[bindgen(files("jsapi.h", "jswhatever.h"), name = "jsapi")];
It would never generate any .rs files, just insert it directly into the AST.
.rs