fork/rules_rust

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

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

rust-analyzer
2.0 KiB89 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 @//wasm_bindgen/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_features = ["std"],
35    crate_root = "src/lib.rs",
36    edition = "2015",
37    rustc_flags = [
38        "--cap-lints=allow",
39        "--cfg=atomic_cas",
40        "--cfg=use_std",
41    ],
42    tags = [
43        "cargo-bazel",
44        "manual",
45        "noclippy",
46        "norustfmt",
47    ],
48    version = "0.4.17",
49    deps = [
50        "@rules_rust_wasm_bindgen__cfg-if-1.0.0//:cfg_if",
51        "@rules_rust_wasm_bindgen__log-0.4.17//:build_script_build",
52    ],
53)
54
55cargo_build_script(
56    name = "log_build_script",
57    srcs = glob(["**/*.rs"]),
58    crate_features = ["std"],
59    crate_name = "build_script_build",
60    crate_root = "build.rs",
61    data = glob(
62        include = ["**"],
63        exclude = [
64            "**/* *",
65            "BUILD",
66            "BUILD.bazel",
67            "WORKSPACE",
68            "WORKSPACE.bazel",
69        ],
70    ),
71    edition = "2015",
72    rustc_flags = [
73        "--cap-lints=allow",
74    ],
75    tags = [
76        "cargo-bazel",
77        "manual",
78        "noclippy",
79        "norustfmt",
80    ],
81    version = "0.4.17",
82    visibility = ["//visibility:private"],
83)
84
85alias(
86    name = "build_script_build",
87    actual = "log_build_script",
88    tags = ["manual"],
89)