xref: /aosp_15_r20/external/bazelbuild-rules_go/go/constraints/amd64/BUILD.bazel (revision 9bb1b549b6a84214c53be0924760be030e66b93a)
1package(
2    default_visibility = ["//visibility:public"],
3)
4
5# Represents the level of support for the particular microarchitecture of a
6# target platform based on the general amd64 architecture.
7# GOAMD64 is set based on the chosen constraint_value.
8# See https://github.com/golang/go/wiki/MinimumRequirements#amd64
9constraint_setting(
10    name = "amd64",
11)
12
13constraint_value(
14    name = "v1",
15    constraint_setting = ":amd64",
16)
17
18constraint_value(
19    name = "v2",
20    constraint_setting = ":amd64",
21)
22
23constraint_value(
24    name = "v3",
25    constraint_setting = ":amd64",
26)
27
28constraint_value(
29    name = "v4",
30    constraint_setting = ":amd64",
31)
32
33filegroup(
34    name = "all_files",
35    testonly = True,
36    srcs = glob(["**"]),
37    visibility = ["//visibility:public"],
38)
39