ppx_transform Last updated Mar 27, 2025
Attributes
Name | Description | Type | Mandatory | Default |
---|---|---|---|---|
A unique name for this target. |
required |
|||
A single source file (struct or sig) label. |
required |
|||
Runtime data dependencies: list of labels of data files needed by ppx executable at runtime. |
optional |
[] |
||
List of args to pass to ppx executable at runtime. |
List of strings |
optional |
[] |
|
Env variables |
optional |
{} |
||
List of compile options; overrides configurable default options. Supports |
List of strings |
optional |
[] |
|
Label of |
optional |
None |
||
Format of output of PPX transform. Value must be one of |
optional |
"@rules_ppx//print:text" |