Home
last modified time | relevance | path

Searched full:go_binary (Results 1 – 25 of 173) sorted by relevance

1234567

/external/bazelbuild-rules_go/tests/core/go_binary/
DBUILD.bazel1 load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library", "go_test")
5 test_suite(name = "go_binary")
17 go_binary(
34 go_binary(
40 go_binary(
60 go_binary(
89 go_binary(
97 go_binary(
141 go_binary(
149 go_binary(
[all …]
DREADME.rst1 Basic go_binary functionality
8 Tests to ensure the basic features of go_binary are working as expected.
19 Tests that a `go_binary`_ rule can write its executable file with a custom name
31 Tests that specifying the `goos` attribute on a `go_binary`_ target to be
38 Test that a `go_binary`_ with many imports with long names can be linked. This
44 Test that the `go_binary`_ ``x_defs`` attribute works correctly, both in a
50 Tests that specifying the ``linkmode`` attribute on a `go_binary`_ target to be
56 Test that `go_binary`_ rules with ``static = "on"`` with and without cgo
Dconfigurable_attribute_bad_test.go28 load("@io_bazel_rules_go//go:def.bzl", "go_binary")
30 go_binary(
65 want := "Cannot use select for go_binary with goos/goarch set, but gotags was a select"
/external/bazelbuild-rules_go/docs/go/core/
Drules.md33 [go_binary]: #go_binary
86 Three core rules may be used to build most projects: [go_library], [go_binary],
96 [go_binary] also builds a single `main` package and links it into an
122 <a id="#go_binary"></a>
124 ## go_binary
127 go_binary(<a href="#go_binary-name">name</a>, <a href="#go_binary-basename">basename</a>, <a href="…
128go_binary-embedsrcs">embedsrcs</a>, <a href="#go_binary-env">env</a>, <a href="#go_binary-gc_goopt…
129go_binary-out">out</a>, <a href="#go_binary-pure">pure</a>, <a href="#go_binary-race">race</a>, <a…
149 | <a id="go_binary-name"></a>name | A unique name for this target. | <a href="https://bazel.buil…
150 | <a id="go_binary-basename"></a>basename | The basename of this binary. The binary ba…
[all …]
Drules.bzl31 [go_binary]: #go_binary
84 Three core rules may be used to build most projects: [go_library], [go_binary],
94 [go_binary] also builds a single `main` package and links it into an
118 load("//go/private/rules:binary.bzl", _go_binary = "go_binary")
125 go_binary = _go_binary
Dembedding.md4 within another `go_library`, `go_binary`, or `go_test` using the `embed`
39 contain test sources. Other `go_binary` and `go_library` targets can depend
49 go_binary(
/external/bazelbuild-rules_go/tests/core/cross/
DREADME.rst4 .. _go_binary: /docs/go/core/rules.md#go_binary target
18 attributes on a `go_binary`_ produces executables for the correct platform.
26 The test also checks that `go_library`_ packages imoprted by `go_binary`_ with
32 `go_binary`_ will not build.
37 …a `go_cross_binary`_ rule wrapping a `go_binary`_ instead of the ``goos`` and ``goarch`` attribute…
41 Tests that a `go_binary`_ wrapped in a `go_cross_binary`_ rule, with the ``sdk_version`` attribute …
DBUILD.bazel1 load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_cross_binary", "go_library", "go_test")
9 go_binary(
18 go_binary(
27 go_binary(
36 go_binary(
44 go_binary(
/external/bazelbuild-rules_go/tests/core/c_linkmodes/
DBUILD.bazel1 load("@io_bazel_rules_go//go:def.bzl", "go_binary")
3 go_binary(
23 go_binary(
43 go_binary(
63 go_binary(
100 go_binary(
121 go_binary(
DREADME.rst4 .. _go_binary: /docs/go/core/rules.md#go_binary target
15 Checks that a ``go_binary`` can be built in ``c-archive`` mode and linked into
21 Checks that a ``go_binary`` built with in ``c-archive`` mode without cgo code
27 Checks that a ``go_binary`` can be built in ``c-shared`` mode and linked into
33 Checks that a ``go_binary`` can be built in ``c-shared`` mode and loaded
/external/bazelbuild-rules_go/go/private/rules/
Dcross.bzl69 … # There's no way to determine if the underlying `go_binary` target is executable at loading time
70 … # so we must set the `go_cross` rule to be always executable. If the `go_binary` target is not
73 # the underlying `go_binary` target is executable.
76 …# See the implementation of `go_binary` for an explanation of the need for default vs data runfile…
109 same platform as it would've with the original `go_binary` rule.
119 SDK as it would've with the original `go_binary` rule.
129 "doc": """This wraps an executable built by `go_binary` to cross compile it
Dwrappers.bzl28 "go_binary",
48 """See docs/go/core/rules.md#go_binary for full documentation."""
61 … fail("Cannot use select for go_binary with goos/goarch set, but {} was a select".format(key))
64 go_binary(name = name, **kwargs)
/external/bazelbuild-rules_go/go/tools/builders/
DBUILD.bazel1 load("//go:def.bzl", "go_binary", "go_source", "go_test")
80 go_binary(
111 go_binary(
127 go_binary(
137 go_binary(
145 go_binary(
/external/bazelbuild-rules_go/tests/core/go_path/cmd/bin/
DBUILD.bazel1 load("@io_bazel_rules_go//go:def.bzl", "go_binary")
3 go_binary(
11 go_binary(
22 go_binary(
/external/bazelbuild-rules_go/tests/core/cgo/
DBUILD.bazel1 load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library", "go_test")
272 go_binary(
280 go_binary(
290 go_binary(
300 go_binary(
337 go_binary(
348 go_binary(
426 go_binary(
462 go_binary(
/external/bazelbuild-rules_go/tests/integration/reproducibility/
DREADME.rst8 Currently covers pure ``go_binary`` targets and a cgo ``go_binary`` with
11 TODO: cover more modes. Currently, it seems like a cgo ``go_binary`` that
/external/bazelbuild-rules_go/tests/legacy/binary_test_outputs/
DBUILD.bazel1 # This test checks that go_binary and go_test produce a single output file.
4 load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_test")
13 go_binary(
/external/bazelbuild-rules_go/tests/core/runfiles/runfiles_remote_test/
DBUILD.bazel1 load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_test")
11 go_binary(
17 go_binary(
/external/bazelbuild-rules_android/src/tools/jdeps/
DBUILD2 load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library", "go_test")
13 go_binary(
22 go_binary(
/external/bazelbuild-rules_go/tests/core/runfiles/
DBUILD.bazel1 load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library", "go_test")
19 go_binary(
25 go_binary(
/external/pigweed/pw_target_runner/go/cmd/
DBUILD.bazel15 load("@io_bazel_rules_go//go:def.bzl", "go_binary")
20 go_binary(
31 go_binary(
/external/bazelbuild-rules_go/
DREADME.rst40 .. _go_binary: docs/go/core/rules.md#go_binary target
135 * `go_binary`_
180 * Building libraries, binaries, and tests (`go_library`_, `go_binary`_,
268 load("@io_bazel_rules_go//go:def.bzl", "go_binary")
270 go_binary(
336 This will generate a ``BUILD.bazel`` file with `go_library`_, `go_binary`_, and
352 load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library", "go_test")
394 For binaries, add a `go_binary`_ rule like the one below.
398 go_binary(
538 * `How do I access go_binary executables from go_test?`_
[all …]
/external/bazelbuild-rules_go/third_party/
Dcom_github_kevinburke_go_bindata-gazelle.patch41 +load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library")
55 +go_binary(
76 +load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library")
91 +go_binary(
/external/bazelbuild-rules_go/go/tools/bazel_benchmark/
DBUILD.bazel.in1 load("//go:def.bzl", "go_binary")
3 go_binary(
/external/bazelbuild-rules_go/tests/legacy/examples/external/
DBUILD.bazel1 load("@io_bazel_rules_go//go:def.bzl", "go_binary")
3 go_binary(

1234567