fork/rules_rust

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

Chris FredricksonAdd new `import` macro prototype. (#1142)2f5253fb

0.8.0
2.8 KiB96 linesraw
1"""
2@generated
3cargo-raze crate build file.
4
5DO NOT EDIT! Replaced on runs of cargo-raze
6"""
7
8# buildifier: disable=load
9load("@bazel_skylib//lib:selects.bzl", "selects")
10
11# buildifier: disable=load
12load(
13    "@rules_rust//rust:defs.bzl",
14    "rust_binary",
15    "rust_library",
16    "rust_proc_macro",
17    "rust_test",
18)
19
20package(default_visibility = [
21    # Public for visibility by "@raze__crate__version//" targets.
22    #
23    # Prefer access through "//util/import/raze", which limits external
24    # visibility to explicit Cargo.toml dependencies.
25    "//visibility:public",
26])
27
28licenses([
29    "notice",  # MIT from expression "MIT OR Apache-2.0"
30])
31
32# Generated Targets
33
34# Unsupported target "mod" with type "bench" omitted
35
36rust_library(
37    name = "getrandom",
38    srcs = glob(["**/*.rs"]),
39    aliases = {
40    },
41    crate_features = [
42    ],
43    crate_root = "src/lib.rs",
44    data = [],
45    edition = "2018",
46    rustc_flags = [
47        "--cap-lints=allow",
48    ],
49    tags = [
50        "cargo-raze",
51        "crate-name=getrandom",
52        "manual",
53    ],
54    version = "0.2.3",
55    # buildifier: leave-alone
56    deps = [
57        "@rules_rust_util_import__cfg_if__1_0_0//:cfg_if",
58    ] + selects.with_or({
59        # cfg(target_os = "wasi")
60        (
61            "@rules_rust//rust/platform:wasm32-wasi",
62        ): [
63            "@rules_rust_util_import__wasi__0_10_2_wasi_snapshot_preview1//:wasi",
64        ],
65        "//conditions:default": [],
66    }) + selects.with_or({
67        # cfg(unix)
68        (
69            "@rules_rust//rust/platform:i686-apple-darwin",
70            "@rules_rust//rust/platform:i686-unknown-linux-gnu",
71            "@rules_rust//rust/platform:x86_64-apple-darwin",
72            "@rules_rust//rust/platform:x86_64-unknown-linux-gnu",
73            "@rules_rust//rust/platform:aarch64-apple-darwin",
74            "@rules_rust//rust/platform:aarch64-apple-ios",
75            "@rules_rust//rust/platform:aarch64-linux-android",
76            "@rules_rust//rust/platform:aarch64-unknown-linux-gnu",
77            "@rules_rust//rust/platform:arm-unknown-linux-gnueabi",
78            "@rules_rust//rust/platform:i686-linux-android",
79            "@rules_rust//rust/platform:i686-unknown-freebsd",
80            "@rules_rust//rust/platform:powerpc-unknown-linux-gnu",
81            "@rules_rust//rust/platform:s390x-unknown-linux-gnu",
82            "@rules_rust//rust/platform:x86_64-apple-ios",
83            "@rules_rust//rust/platform:x86_64-linux-android",
84            "@rules_rust//rust/platform:x86_64-unknown-freebsd",
85        ): [
86            "@rules_rust_util_import__libc__0_2_112//:libc",
87        ],
88        "//conditions:default": [],
89    }),
90)
91
92# Unsupported target "custom" with type "test" omitted
93
94# Unsupported target "normal" with type "test" omitted
95
96# Unsupported target "rdrand" with type "test" omitted