-
Notifications
You must be signed in to change notification settings - Fork 252
/
BUILD.getrandom-0.2.7.bazel
107 lines (101 loc) · 2.64 KB
/
BUILD.getrandom-0.2.7.bazel
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
###############################################################################
# @generated
# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
# regenerate this file, run the following:
#
# bazel run //rust-deps:crates_vendor
###############################################################################
load(
"@bazel_skylib//lib:selects.bzl",
"selects",
)
# buildifier: disable=bzl-visibility
load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
load(
"@rules_rust//rust:defs.bzl",
"rust_library",
)
package(default_visibility = ["//visibility:public"])
# licenses([
# "TODO", # MIT OR Apache-2.0
# ])
rust_library(
name = "getrandom",
srcs = glob(
include = [
"**/*.rs",
],
exclude = [
],
),
aliases = selects.with_or({
"//conditions:default": {
},
}),
compile_data = glob(
include = ["**"],
exclude = [
"BUILD",
"BUILD.bazel",
"WORKSPACE",
"WORKSPACE.bazel",
],
) + select_with_or({
"//conditions:default": [
],
}),
crate_features = [
],
crate_root = "src/lib.rs",
data = select_with_or({
"//conditions:default": [
],
}),
edition = "2018",
proc_macro_deps = [
] + select_with_or({
"//conditions:default": [
],
}),
rustc_env = {
},
rustc_env_files = select_with_or({
"//conditions:default": [
],
}),
rustc_flags = [
# In most cases, warnings in 3rd party crates are not interesting as
# they're out of the control of consumers. The flag here silences
# warnings. For more details see:
# https://doc.rust-lang.org/rustc/lints/levels.html
"--cap-lints=allow",
],
tags = [
"cargo-bazel",
"manual",
"noclippy",
"norustfmt",
],
version = "0.2.7",
deps = [
] + select_with_or({
# cfg(target_os = "wasi")
#
# No supported platform triples for cfg: 'cfg(target_os = "wasi")'
# Skipped dependencies: [{"id":"wasi 0.11.0+wasi-snapshot-preview1","target":"wasi"}]
#
# cfg(unix)
(
"@rules_rust//rust/platform:aarch64-apple-darwin",
"@rules_rust//rust/platform:x86_64-unknown-linux-gnu",
): [
# Target Deps
"@crates_vendor__libc-0.2.132//:libc",
# Common Deps
"@crates_vendor__cfg-if-1.0.0//:cfg_if",
],
"//conditions:default": [
"@crates_vendor__cfg-if-1.0.0//:cfg_if",
],
}),
)