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
2.4 KiB98 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/Apache-2.0
16# ])
17
18rust_library(
19    name = "crossbeam_epoch",
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        "default",
33        "lazy_static",
34        "std",
35    ],
36    crate_root = "src/lib.rs",
37    edition = "2015",
38    rustc_flags = ["--cap-lints=allow"],
39    tags = [
40        "cargo-bazel",
41        "manual",
42        "noclippy",
43        "norustfmt",
44    ],
45    version = "0.8.2",
46    deps = [
47        "@rules_rust_proto__cfg-if-0.1.10//:cfg_if",
48        "@rules_rust_proto__crossbeam-epoch-0.8.2//:build_script_build",
49        "@rules_rust_proto__crossbeam-utils-0.7.2//:crossbeam_utils",
50        "@rules_rust_proto__lazy_static-1.4.0//:lazy_static",
51        "@rules_rust_proto__maybe-uninit-2.0.0//:maybe_uninit",
52        "@rules_rust_proto__memoffset-0.5.6//:memoffset",
53        "@rules_rust_proto__scopeguard-1.1.0//:scopeguard",
54    ],
55)
56
57cargo_build_script(
58    name = "crossbeam-epoch_build_script",
59    srcs = glob(["**/*.rs"]),
60    crate_features = [
61        "default",
62        "lazy_static",
63        "std",
64    ],
65    crate_name = "build_script_build",
66    crate_root = "build.rs",
67    data = glob(
68        include = ["**"],
69        exclude = [
70            "**/* *",
71            "BUILD",
72            "BUILD.bazel",
73            "WORKSPACE",
74            "WORKSPACE.bazel",
75        ],
76    ),
77    edition = "2015",
78    rustc_flags = [
79        "--cap-lints=allow",
80    ],
81    tags = [
82        "cargo-bazel",
83        "manual",
84        "noclippy",
85        "norustfmt",
86    ],
87    version = "0.8.2",
88    visibility = ["//visibility:private"],
89    deps = [
90        "@rules_rust_proto__autocfg-1.1.0//:autocfg",
91    ],
92)
93
94alias(
95    name = "build_script_build",
96    actual = "crossbeam-epoch_build_script",
97    tags = ["manual"],
98)