fork/rules_rust

git clone https://git.julia.blue/fork/rules_rust

Joseph RyanRemove ios/android/wasm support for gen_rust_project depsd8ea6b8c

rust-analyzer
2.4 KiB107 linesraw
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 @//tools/rust_analyzer/3rdparty:crates_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        "minwinbase",
36        "minwindef",
37        "processenv",
38        "std",
39        "winbase",
40        "wincon",
41        "winerror",
42        "winnt",
43    ],
44    crate_root = "src/lib.rs",
45    edition = "2015",
46    rustc_flags = ["--cap-lints=allow"],
47    tags = [
48        "cargo-bazel",
49        "crate-name=winapi",
50        "manual",
51        "noclippy",
52        "norustfmt",
53    ],
54    version = "0.3.9",
55    deps = [
56        "@rules_rust_rust_analyzer__winapi-0.3.9//:build_script_build",
57    ],
58)
59
60cargo_build_script(
61    name = "winapi_build_script",
62    srcs = glob(["**/*.rs"]),
63    crate_features = [
64        "consoleapi",
65        "errhandlingapi",
66        "fileapi",
67        "minwinbase",
68        "minwindef",
69        "processenv",
70        "std",
71        "winbase",
72        "wincon",
73        "winerror",
74        "winnt",
75    ],
76    crate_name = "build_script_build",
77    crate_root = "build.rs",
78    data = glob(
79        include = ["**"],
80        exclude = [
81            "**/* *",
82            "BUILD",
83            "BUILD.bazel",
84            "WORKSPACE",
85            "WORKSPACE.bazel",
86        ],
87    ),
88    edition = "2015",
89    rustc_flags = [
90        "--cap-lints=allow",
91    ],
92    tags = [
93        "cargo-bazel",
94        "crate-name=winapi",
95        "manual",
96        "noclippy",
97        "norustfmt",
98    ],
99    version = "0.3.9",
100    visibility = ["//visibility:private"],
101)
102
103alias(
104    name = "build_script_build",
105    actual = "winapi_build_script",
106    tags = ["manual"],
107)