• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1###############################################################################
2# @generated
3# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
4# regenerate this file, run the following:
5#
6#     bazel run @//third-party:vendor
7###############################################################################
8
9load("@rules_rust//cargo:defs.bzl", "cargo_build_script")
10load("@rules_rust//rust:defs.bzl", "rust_library")
11
12package(default_visibility = ["//visibility:public"])
13
14# licenses([
15#     "TODO",  # MIT/Apache-2.0
16# ])
17
18rust_library(
19    name = "winapi",
20    srcs = glob(["**/*.rs"]),
21    compile_data = glob(
22        include = ["**"],
23        exclude = [
24            "**/* *",
25            "BUILD",
26            "BUILD.bazel",
27            "WORKSPACE",
28            "WORKSPACE.bazel",
29        ],
30    ),
31    crate_features = [
32        "consoleapi",
33        "errhandlingapi",
34        "fileapi",
35        "minwindef",
36        "processenv",
37        "std",
38        "winbase",
39        "wincon",
40        "winerror",
41        "winnt",
42    ],
43    crate_root = "src/lib.rs",
44    edition = "2015",
45    rustc_flags = ["--cap-lints=allow"],
46    tags = [
47        "cargo-bazel",
48        "crate-name=winapi",
49        "manual",
50        "noclippy",
51        "norustfmt",
52    ],
53    version = "0.3.9",
54    deps = [
55        "@vendor__winapi-0.3.9//:build_script_build",
56    ],
57)
58
59cargo_build_script(
60    name = "winapi_build_script",
61    srcs = glob(["**/*.rs"]),
62    crate_features = [
63        "consoleapi",
64        "errhandlingapi",
65        "fileapi",
66        "minwindef",
67        "processenv",
68        "std",
69        "winbase",
70        "wincon",
71        "winerror",
72        "winnt",
73    ],
74    crate_name = "build_script_build",
75    crate_root = "build.rs",
76    data = glob(
77        include = ["**"],
78        exclude = [
79            "**/* *",
80            "BUILD",
81            "BUILD.bazel",
82            "WORKSPACE",
83            "WORKSPACE.bazel",
84        ],
85    ),
86    edition = "2015",
87    rustc_flags = [
88        "--cap-lints=allow",
89    ],
90    tags = [
91        "cargo-bazel",
92        "crate-name=winapi",
93        "manual",
94        "noclippy",
95        "norustfmt",
96    ],
97    version = "0.3.9",
98    visibility = ["//visibility:private"],
99)
100
101alias(
102    name = "build_script_build",
103    actual = "winapi_build_script",
104    tags = ["manual"],
105)
106