fork/rules_rust

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

David TolnayMake loads from @rules_rust//rust:defs.bzl come out on one line (#1753)a31490d9

rust-analyzer
1.9 KiB83 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 @//proto/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
16# ])
17
18rust_library(
19    name = "kernel32",
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_root = "src/lib.rs",
32    edition = "2015",
33    rustc_flags = ["--cap-lints=allow"],
34    tags = [
35        "cargo-bazel",
36        "manual",
37        "noclippy",
38        "norustfmt",
39    ],
40    version = "0.2.2",
41    deps = [
42        "@rules_rust_proto__kernel32-sys-0.2.2//:build_script_build",
43        "@rules_rust_proto__winapi-0.2.8//:winapi",
44    ],
45)
46
47cargo_build_script(
48    name = "kernel32-sys_build_script",
49    srcs = glob(["**/*.rs"]),
50    crate_name = "build_script_build",
51    crate_root = "build.rs",
52    data = glob(
53        include = ["**"],
54        exclude = [
55            "**/* *",
56            "BUILD",
57            "BUILD.bazel",
58            "WORKSPACE",
59            "WORKSPACE.bazel",
60        ],
61    ),
62    edition = "2015",
63    rustc_flags = [
64        "--cap-lints=allow",
65    ],
66    tags = [
67        "cargo-bazel",
68        "manual",
69        "noclippy",
70        "norustfmt",
71    ],
72    version = "0.2.2",
73    visibility = ["//visibility:private"],
74    deps = [
75        "@rules_rust_proto__winapi-build-0.1.1//:build",
76    ],
77)
78
79alias(
80    name = "build_script_build",
81    actual = "kernel32-sys_build_script",
82    tags = ["manual"],
83)