Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
go-cloud-debug-agent: restrict building to Linux
This binary uses the golang.org/x/debug package, which cannot build except under Linux. Non-Linux users get an error when they go install or go test from the repo root. Adding a build constraint to the main binary file fixes the problem. Also, add an import identifier for a package with a different import path, so goimports doesn't mistakenly delete the import. Change-Id: If2659af1f98b0255a2c8e60fb64a6e191f9cc48e Reviewed-on: https://code-review.googlesource.com/8576 Reviewed-by: John Dethridge <[email protected]>
- Loading branch information