1

buildifier

This commit is contained in:
Motiejus Jakštys 2021-11-05 19:47:52 +02:00
parent 523943bd35
commit 34b85cf57f
2 changed files with 15 additions and 15 deletions

View File

@ -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)