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.1 KiB47 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 @//bindgen/3rdparty:crates_vendor
7###############################################################################
8
9load("@rules_rust//rust:defs.bzl", "rust_library")
10
11package(default_visibility = ["//visibility:public"])
12
13# licenses([
14#     "TODO",  # MIT OR Apache-2.0
15# ])
16
17rust_library(
18    name = "log",
19    srcs = glob(["**/*.rs"]),
20    compile_data = glob(
21        include = ["**"],
22        exclude = [
23            "**/* *",
24            "BUILD",
25            "BUILD.bazel",
26            "WORKSPACE",
27            "WORKSPACE.bazel",
28        ],
29    ),
30    crate_features = ["std"],
31    crate_root = "src/lib.rs",
32    edition = "2015",
33    rustc_flags = [
34        "--cap-lints=allow",
35        "--cfg=atomic_cas",
36    ],
37    tags = [
38        "cargo-bazel",
39        "manual",
40        "noclippy",
41        "norustfmt",
42    ],
43    version = "0.4.17",
44    deps = [
45        "@rules_rust_bindgen__cfg-if-1.0.0//:cfg_if",
46    ],
47)