|
| 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( |
| 10 | + "@io_bazel_rules_rust//rust:rust.bzl", |
| 11 | + "rust_binary", |
| 12 | + "rust_library", |
| 13 | + "rust_test", |
| 14 | +) |
| 15 | + |
| 16 | +# buildifier: disable=load |
| 17 | +load("@bazel_skylib//lib:selects.bzl", "selects") |
| 18 | + |
| 19 | +package(default_visibility = [ |
| 20 | + # Public for visibility by "@raze__crate__version//" targets. |
| 21 | + # |
| 22 | + # Prefer access through "//bazel/cargo", which limits external |
| 23 | + # visibility to explicit Cargo.toml dependencies. |
| 24 | + "//visibility:public", |
| 25 | +]) |
| 26 | + |
| 27 | +licenses([ |
| 28 | + "notice", # MIT from expression "MIT OR Apache-2.0" |
| 29 | +]) |
| 30 | + |
| 31 | +# Generated Targets |
| 32 | + |
| 33 | +# Unsupported target "mod" with type "bench" omitted |
| 34 | + |
| 35 | +# Unsupported target "build-script-build" with type "custom-build" omitted |
| 36 | + |
| 37 | +rust_library( |
| 38 | + name = "getrandom", |
| 39 | + srcs = glob(["**/*.rs"]), |
| 40 | + aliases = { |
| 41 | + }, |
| 42 | + crate_features = [ |
| 43 | + ], |
| 44 | + crate_root = "src/lib.rs", |
| 45 | + crate_type = "lib", |
| 46 | + edition = "2018", |
| 47 | + rustc_flags = [ |
| 48 | + "--cap-lints=allow", |
| 49 | + ], |
| 50 | + tags = [ |
| 51 | + "cargo-raze", |
| 52 | + "manual", |
| 53 | + ], |
| 54 | + version = "0.2.0", |
| 55 | + # buildifier: leave-alone |
| 56 | + deps = [ |
| 57 | + "@raze__cfg_if__0_1_10//:cfg_if", |
| 58 | + ] + selects.with_or({ |
| 59 | + # cfg(all(target_arch = "wasm32", target_os = "unknown", not(cargo_web))) |
| 60 | + ( |
| 61 | + "@io_bazel_rules_rust//rust/platform:wasm32-unknown-unknown", |
| 62 | + ): [ |
| 63 | + ], |
| 64 | + "//conditions:default": [], |
| 65 | + }) + selects.with_or({ |
| 66 | + # cfg(target_os = "wasi") |
| 67 | + ( |
| 68 | + "@io_bazel_rules_rust//rust/platform:wasm32-wasi", |
| 69 | + ): [ |
| 70 | + "@raze__wasi__0_9_0_wasi_snapshot_preview1//:wasi", |
| 71 | + ], |
| 72 | + "//conditions:default": [], |
| 73 | + }) + selects.with_or({ |
| 74 | + # cfg(unix) |
| 75 | + ( |
| 76 | + "@io_bazel_rules_rust//rust/platform:aarch64-apple-ios", |
| 77 | + "@io_bazel_rules_rust//rust/platform:aarch64-linux-android", |
| 78 | + "@io_bazel_rules_rust//rust/platform:aarch64-unknown-linux-gnu", |
| 79 | + "@io_bazel_rules_rust//rust/platform:arm-unknown-linux-gnueabi", |
| 80 | + "@io_bazel_rules_rust//rust/platform:i686-apple-darwin", |
| 81 | + "@io_bazel_rules_rust//rust/platform:i686-linux-android", |
| 82 | + "@io_bazel_rules_rust//rust/platform:i686-unknown-freebsd", |
| 83 | + "@io_bazel_rules_rust//rust/platform:i686-unknown-linux-gnu", |
| 84 | + "@io_bazel_rules_rust//rust/platform:powerpc-unknown-linux-gnu", |
| 85 | + "@io_bazel_rules_rust//rust/platform:s390x-unknown-linux-gnu", |
| 86 | + "@io_bazel_rules_rust//rust/platform:x86_64-apple-darwin", |
| 87 | + "@io_bazel_rules_rust//rust/platform:x86_64-apple-ios", |
| 88 | + "@io_bazel_rules_rust//rust/platform:x86_64-linux-android", |
| 89 | + "@io_bazel_rules_rust//rust/platform:x86_64-unknown-freebsd", |
| 90 | + "@io_bazel_rules_rust//rust/platform:x86_64-unknown-linux-gnu", |
| 91 | + ): [ |
| 92 | + "@raze__libc__0_2_80//:libc", |
| 93 | + ], |
| 94 | + "//conditions:default": [], |
| 95 | + }), |
| 96 | +) |
0 commit comments