blob: 9b595c40ddb1570d42aa4518d363dfb06abe8d8e [file] [log] [blame]
Brian Silverman547eda02022-05-19 23:14:08 -07001"""
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 "//third_party/cargo", which limits external
24 # visibility to explicit Cargo.toml dependencies.
25 "//visibility:public",
26])
27
28licenses([
Brian Silvermana7ba2512022-12-19 19:13:52 -080029 "notice", # MIT from expression "MIT OR Apache-2.0"
Brian Silverman547eda02022-05-19 23:14:08 -070030])
31
32# Generated Targets
33
Brian Silvermana7ba2512022-12-19 19:13:52 -080034# Unsupported target "mod" with type "bench" omitted
35
Brian Silverman547eda02022-05-19 23:14:08 -070036rust_library(
Brian Silvermana7ba2512022-12-19 19:13:52 -080037 name = "getrandom",
Brian Silverman547eda02022-05-19 23:14:08 -070038 srcs = glob(["**/*.rs"]),
39 aliases = {
40 },
41 crate_features = [
42 ],
43 crate_root = "src/lib.rs",
44 data = [],
Brian Silvermana7ba2512022-12-19 19:13:52 -080045 edition = "2018",
Brian Silverman547eda02022-05-19 23:14:08 -070046 rustc_flags = [
47 "--cap-lints=allow",
48 ],
49 tags = [
50 "cargo-raze",
Brian Silvermana7ba2512022-12-19 19:13:52 -080051 "crate-name=getrandom",
Brian Silverman547eda02022-05-19 23:14:08 -070052 "manual",
53 ],
Brian Silvermana7ba2512022-12-19 19:13:52 -080054 version = "0.2.8",
Brian Silverman547eda02022-05-19 23:14:08 -070055 # buildifier: leave-alone
56 deps = [
Brian Silvermana7ba2512022-12-19 19:13:52 -080057 "@raze__cfg_if__1_0_0//:cfg_if",
Brian Silverman547eda02022-05-19 23:14:08 -070058 ] + selects.with_or({
59 # cfg(unix)
60 (
61 "@rules_rust//rust/platform:x86_64-unknown-linux-gnu",
62 "@rules_rust//rust/platform:arm-unknown-linux-gnueabi",
63 "@rules_rust//rust/platform:armv7-unknown-linux-gnueabihf",
64 ): [
Brian Silvermana7ba2512022-12-19 19:13:52 -080065 "@raze__libc__0_2_138//:libc",
Brian Silverman547eda02022-05-19 23:14:08 -070066 ],
67 "//conditions:default": [],
68 }),
69)
70
Brian Silvermana7ba2512022-12-19 19:13:52 -080071# Unsupported target "custom" with type "test" omitted
Brian Silverman547eda02022-05-19 23:14:08 -070072
Brian Silvermana7ba2512022-12-19 19:13:52 -080073# Unsupported target "normal" with type "test" omitted
Brian Silverman547eda02022-05-19 23:14:08 -070074
Brian Silvermana7ba2512022-12-19 19:13:52 -080075# Unsupported target "rdrand" with type "test" omitted