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.6 KiB55 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(
10    "@rules_rust//rust:defs.bzl",
11    "rust_library",
12)
13
14package(default_visibility = ["//visibility:public"])
15
16# licenses([
17#     "TODO",  # MIT OR Apache-2.0
18# ])
19
20rust_library(
21    name = "cpufeatures",
22    srcs = glob(["**/*.rs"]),
23    compile_data = glob(
24        include = ["**"],
25        exclude = [
26            "**/* *",
27            "BUILD",
28            "BUILD.bazel",
29            "WORKSPACE",
30            "WORKSPACE.bazel",
31        ],
32    ),
33    crate_root = "src/lib.rs",
34    edition = "2018",
35    rustc_flags = ["--cap-lints=allow"],
36    tags = [
37        "cargo-bazel",
38        "manual",
39        "noclippy",
40        "norustfmt",
41    ],
42    version = "0.2.5",
43    deps = select({
44        "@rules_rust//rust/platform:aarch64-apple-darwin": [
45            "@rules_rust_wasm_bindgen__libc-0.2.139//:libc",  # aarch64-apple-darwin
46        ],
47        "@rules_rust//rust/platform:aarch64-linux-android": [
48            "@rules_rust_wasm_bindgen__libc-0.2.139//:libc",  # aarch64-linux-android
49        ],
50        "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [
51            "@rules_rust_wasm_bindgen__libc-0.2.139//:libc",  # cfg(all(target_arch = "aarch64", target_os = "linux"))
52        ],
53        "//conditions:default": [],
54    }),
55)