Brian Silverman | 547eda0 | 2022-05-19 23:14:08 -0700 | [diff] [blame] | 1 | """ |
| 2 | @generated |
| 3 | cargo-raze crate build file. |
| 4 | |
| 5 | DO NOT EDIT! Replaced on runs of cargo-raze |
| 6 | """ |
| 7 | |
| 8 | # buildifier: disable=load |
| 9 | load("@bazel_skylib//lib:selects.bzl", "selects") |
| 10 | |
| 11 | # buildifier: disable=load |
| 12 | load( |
| 13 | "@rules_rust//rust:defs.bzl", |
| 14 | "rust_binary", |
| 15 | "rust_library", |
| 16 | "rust_proc_macro", |
| 17 | "rust_test", |
| 18 | ) |
| 19 | |
| 20 | package(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 | |
| 28 | licenses([ |
Brian Silverman | a7ba251 | 2022-12-19 19:13:52 -0800 | [diff] [blame] | 29 | "notice", # MIT from expression "MIT OR Apache-2.0" |
Brian Silverman | 547eda0 | 2022-05-19 23:14:08 -0700 | [diff] [blame] | 30 | ]) |
| 31 | |
| 32 | # Generated Targets |
| 33 | |
Brian Silverman | a7ba251 | 2022-12-19 19:13:52 -0800 | [diff] [blame] | 34 | # Unsupported target "mod" with type "bench" omitted |
| 35 | |
Brian Silverman | 547eda0 | 2022-05-19 23:14:08 -0700 | [diff] [blame] | 36 | rust_library( |
Brian Silverman | a7ba251 | 2022-12-19 19:13:52 -0800 | [diff] [blame] | 37 | name = "getrandom", |
Brian Silverman | 547eda0 | 2022-05-19 23:14:08 -0700 | [diff] [blame] | 38 | srcs = glob(["**/*.rs"]), |
| 39 | aliases = { |
| 40 | }, |
| 41 | crate_features = [ |
| 42 | ], |
| 43 | crate_root = "src/lib.rs", |
| 44 | data = [], |
Brian Silverman | a7ba251 | 2022-12-19 19:13:52 -0800 | [diff] [blame] | 45 | edition = "2018", |
Brian Silverman | 547eda0 | 2022-05-19 23:14:08 -0700 | [diff] [blame] | 46 | rustc_flags = [ |
| 47 | "--cap-lints=allow", |
| 48 | ], |
| 49 | tags = [ |
| 50 | "cargo-raze", |
Brian Silverman | a7ba251 | 2022-12-19 19:13:52 -0800 | [diff] [blame] | 51 | "crate-name=getrandom", |
Brian Silverman | 547eda0 | 2022-05-19 23:14:08 -0700 | [diff] [blame] | 52 | "manual", |
| 53 | ], |
Brian Silverman | a7ba251 | 2022-12-19 19:13:52 -0800 | [diff] [blame] | 54 | version = "0.2.8", |
Brian Silverman | 547eda0 | 2022-05-19 23:14:08 -0700 | [diff] [blame] | 55 | # buildifier: leave-alone |
| 56 | deps = [ |
Brian Silverman | a7ba251 | 2022-12-19 19:13:52 -0800 | [diff] [blame] | 57 | "@raze__cfg_if__1_0_0//:cfg_if", |
Brian Silverman | 547eda0 | 2022-05-19 23:14:08 -0700 | [diff] [blame] | 58 | ] + 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 Silverman | a7ba251 | 2022-12-19 19:13:52 -0800 | [diff] [blame] | 65 | "@raze__libc__0_2_138//:libc", |
Brian Silverman | 547eda0 | 2022-05-19 23:14:08 -0700 | [diff] [blame] | 66 | ], |
| 67 | "//conditions:default": [], |
| 68 | }), |
| 69 | ) |
| 70 | |
Brian Silverman | a7ba251 | 2022-12-19 19:13:52 -0800 | [diff] [blame] | 71 | # Unsupported target "custom" with type "test" omitted |
Brian Silverman | 547eda0 | 2022-05-19 23:14:08 -0700 | [diff] [blame] | 72 | |
Brian Silverman | a7ba251 | 2022-12-19 19:13:52 -0800 | [diff] [blame] | 73 | # Unsupported target "normal" with type "test" omitted |
Brian Silverman | 547eda0 | 2022-05-19 23:14:08 -0700 | [diff] [blame] | 74 | |
Brian Silverman | a7ba251 | 2022-12-19 19:13:52 -0800 | [diff] [blame] | 75 | # Unsupported target "rdrand" with type "test" omitted |