fork/rules_rust

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

David TolnayRegenerate BUILD files using serde_starlark renderer (#1746)d6e30035

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 @//sys/complex/3rdparty:crates_vendor
7###############################################################################
8
9load("@rules_rust//cargo:defs.bzl", "cargo_build_script")
10load(
11    "@rules_rust//rust:defs.bzl",
12    "rust_library",
13)
14
15package(default_visibility = ["//visibility:public"])
16
17# licenses([
18#     "TODO",  # MIT OR Apache-2.0
19# ])
20
21rust_library(
22    name = "log",
23    srcs = glob(["**/*.rs"]),
24    compile_data = glob(
25        include = ["**"],
26        exclude = [
27            "**/* *",
28            "BUILD",
29            "BUILD.bazel",
30            "WORKSPACE",
31            "WORKSPACE.bazel",
32        ],
33    ),
34    crate_root = "src/lib.rs",
35    edition = "2015",
36    rustc_flags = ["--cap-lints=allow"],
37    tags = [
38        "cargo-bazel",
39        "manual",
40        "noclippy",
41        "norustfmt",
42    ],
43    version = "0.4.17",
44    deps = [
45        "@complex_sys__cfg-if-1.0.0//:cfg_if",
46        "@complex_sys__log-0.4.17//:build_script_build",
47    ],
48)
49
50cargo_build_script(
51    name = "log_build_script",
52    srcs = glob(["**/*.rs"]),
53    crate_name = "build_script_build",
54    crate_root = "build.rs",
55    data = glob(
56        include = ["**"],
57        exclude = [
58            "**/* *",
59            "BUILD",
60            "BUILD.bazel",
61            "WORKSPACE",
62            "WORKSPACE.bazel",
63        ],
64    ),
65    edition = "2015",
66    rustc_flags = [
67        "--cap-lints=allow",
68    ],
69    tags = [
70        "cargo-bazel",
71        "manual",
72        "noclippy",
73        "norustfmt",
74    ],
75    version = "0.4.17",
76    visibility = ["//visibility:private"],
77)
78
79alias(
80    name = "build_script_build",
81    actual = "log_build_script",
82    tags = ["manual"],
83)