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
1002 B40 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/Apache-2.0
15# ])
16
17rust_library(
18    name = "cfg_if",
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_root = "src/lib.rs",
31    edition = "2018",
32    rustc_flags = ["--cap-lints=allow"],
33    tags = [
34        "cargo-bazel",
35        "manual",
36        "noclippy",
37        "norustfmt",
38    ],
39    version = "1.0.0",
40)