-
-
Notifications
You must be signed in to change notification settings - Fork 14.5k
Closed
Labels
A-frontendArea: Compiler frontend (errors, parsing and HIR)Area: Compiler frontend (errors, parsing and HIR)C-enhancementCategory: An issue proposing an enhancement or a PR with one.Category: An issue proposing an enhancement or a PR with one.P-lowLow priorityLow priority
Description
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.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
A-frontendArea: Compiler frontend (errors, parsing and HIR)Area: Compiler frontend (errors, parsing and HIR)C-enhancementCategory: An issue proposing an enhancement or a PR with one.Category: An issue proposing an enhancement or a PR with one.P-lowLow priorityLow priority