generated from bazel-contrib/rules-template
-
Notifications
You must be signed in to change notification settings - Fork 9
Closed
Description
All zig compiler invocations support per module compiler options.
Therefore, adding a copts attribute to zig_module and gather them through the graph would allow forging the arguments at the right location when invoking the zig compiler.
However, this naming conflicts with the existing copts attribute of the zig_build descendent rules.
Currently, copts is used as C compiler flags and are prefixed with -cflags during zig compiler invocation.
I suggest that we rename the existing copts to cflags and use copts for Compiler options like it is the case for rules_swift for example.
WDYT ?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels