blob: b567c161dd92430392efda28c056c57cc7b917bc [file] [log] [blame]
Serge Bazanskicbf1fa92021-07-02 17:28:50 +02001"""
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(
Leopold2aa8b182023-01-14 23:31:43 +010013 "@rules_rust//rust:defs.bzl",
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020014 "rust_binary",
15 "rust_library",
Leopold2aa8b182023-01-14 23:31:43 +010016 "rust_proc_macro",
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020017 "rust_test",
18)
19
20package(default_visibility = [
21 # Public for visibility by "@raze__crate__version//" targets.
22 #
23 # Prefer access through "//third_party/rust/cargo", 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 "std",
43 ],
44 crate_root = "src/lib.rs",
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020045 data = [],
46 edition = "2018",
47 rustc_flags = [
48 "--cap-lints=allow",
49 ],
50 tags = [
51 "cargo-raze",
Leopold2aa8b182023-01-14 23:31:43 +010052 "crate-name=getrandom",
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020053 "manual",
54 ],
Leopold2aa8b182023-01-14 23:31:43 +010055 version = "0.2.8",
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020056 # buildifier: leave-alone
57 deps = [
58 "@raze__cfg_if__1_0_0//:cfg_if",
59 ] + selects.with_or({
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020060 (
61 "@rules_rust//rust/platform:x86_64-unknown-linux-gnu",
62 ): [
Leopold2aa8b182023-01-14 23:31:43 +010063 "@raze__libc__0_2_139//:libc",
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020064 ],
65 "//conditions:default": [],
66 }),
67)
68
69# Unsupported target "custom" with type "test" omitted
70
71# Unsupported target "normal" with type "test" omitted
72
73# Unsupported target "rdrand" with type "test" omitted