commit | 55ca35a683a92753f13056316778e25b7de95111 | [log] [tgz] |
---|---|---|
author | James Bartlett <jamesbartlett@newrelic.com> | Thu Aug 25 11:24:58 2022 -0700 |
committer | GitHub <noreply@github.com> | Thu Aug 25 20:24:58 2022 +0200 |
tree | 9b0b0a1ba80efc38c08cc34e7478968000fa4ba0 | |
parent | b4292b15a157158fac95069fd988b64c24fa16e3 [diff] |
Add `go_cross_binary` rule for cross-compilation. (#3261) * Add `go_cross_binary` rule for cross-compilation. - Adds a `go_cross_binary` rule that wraps a `go_binary` to generate a cross-compiled version of the binary. - Supports compiling for a different platform, and/or a different golang SDK version. - Adds docs for the new `go_cross_binary` rule. - Adds testing in `tests/core/cross` for the new `go_cross_binary` rule. Signed-off-by: James Bartlett <jamesbartlett@newrelic.com>