aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Burgess IV <gbiv@google.com>2022-05-10 14:11:13 -0700
committerChromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com>2022-05-11 21:31:34 +0000
commit9d0d3541b73b639b291a0d483a3b1725a134d710 (patch)
tree95f29266ad8ea4e45779621ed3ca24ece44f4500
parent76b677b89b385083ab2b243308e745abb6b4261c (diff)
downloadtoolchain-utils-9d0d3541b73b639b291a0d483a3b1725a134d710.tar.gz
compiler_wrapper: `go fmt`
Pre-upload checks in chromiumos-overlay complained about these files not being `go fmt`'ed; do that. This is apparently an artifact of a build tag migration upstream: https://go.googlesource.com/proposal/+/master/design/draft-gobuild.md ...so leave both in here for a while. BUG=b:232114933 TEST=go test Change-Id: I8f8e0896d3e3ce37d155035d93412f8c1c89b1b7 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/toolchain-utils/+/3639686 Tested-by: George Burgess <gbiv@chromium.org> Commit-Queue: Jordan Abrahams-Whitehead <ajordanr@google.com> Reviewed-by: Jordan Abrahams-Whitehead <ajordanr@google.com> Auto-Submit: George Burgess <gbiv@chromium.org>
-rw-r--r--compiler_wrapper/go_exec.go1
-rw-r--r--compiler_wrapper/libc_exec.go1
2 files changed, 2 insertions, 0 deletions
diff --git a/compiler_wrapper/go_exec.go b/compiler_wrapper/go_exec.go
index 74691484..8c2b8ce7 100644
--- a/compiler_wrapper/go_exec.go
+++ b/compiler_wrapper/go_exec.go
@@ -2,6 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+//go:build !libc_exec
// +build !libc_exec
package main
diff --git a/compiler_wrapper/libc_exec.go b/compiler_wrapper/libc_exec.go
index 5922c6e8..44326d61 100644
--- a/compiler_wrapper/libc_exec.go
+++ b/compiler_wrapper/libc_exec.go
@@ -2,6 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+//go:build libc_exec
// +build libc_exec
package main