buildifier
This commit is contained in:
parent
523943bd35
commit
34b85cf57f
@ -10,6 +10,7 @@ Example: if this toolchain is registered as bazel-zig-cc in your WORKSPACE, add
|
|||||||
your root BUILD file
|
your root BUILD file
|
||||||
# gazelle:map_kind go_binary go_binary @bazel-zig-cc//rules:go_binary_override.bzl
|
# gazelle:map_kind go_binary go_binary @bazel-zig-cc//rules:go_binary_override.bzl
|
||||||
"""
|
"""
|
||||||
|
|
||||||
def go_binary(**args):
|
def go_binary(**args):
|
||||||
new_args = {}
|
new_args = {}
|
||||||
new_args["gc_linkopts"] = select({
|
new_args["gc_linkopts"] = select({
|
||||||
@ -23,4 +24,3 @@ def go_binary(**args):
|
|||||||
for k, v in args.items():
|
for k, v in args.items():
|
||||||
new_args[k] = v
|
new_args[k] = v
|
||||||
go_binary_rule(**new_args)
|
go_binary_rule(**new_args)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user