Skip to content

Commit 9763300

Browse files
committed
chore: run wasmsign:crates_vendor -- --repin
Signed-off-by: Matt Leon <mattleon@google.com>
1 parent 5ae3270 commit 9763300

31 files changed

+566
-115
lines changed

bazel/cargo/wasmsign/remote/BUILD.ansi_term-0.12.1.bazel

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,21 @@
66
# bazel run @//bazel/cargo/wasmsign:crates_vendor
77
###############################################################################
88

9+
load("@rules_rust//cargo:defs.bzl", "cargo_toml_env_vars")
910
load("@rules_rust//rust:defs.bzl", "rust_library")
1011

1112
package(default_visibility = ["//visibility:public"])
1213

14+
cargo_toml_env_vars(
15+
name = "cargo_toml_env_vars",
16+
src = "Cargo.toml",
17+
)
18+
1319
rust_library(
1420
name = "ansi_term",
1521
srcs = glob(
1622
include = ["**/*.rs"],
17-
allow_empty = False,
23+
allow_empty = True,
1824
),
1925
compile_data = glob(
2026
include = ["**"],
@@ -30,6 +36,9 @@ rust_library(
3036
),
3137
crate_root = "src/lib.rs",
3238
edition = "2015",
39+
rustc_env_files = [
40+
":cargo_toml_env_vars",
41+
],
3342
rustc_flags = [
3443
"--cap-lints=allow",
3544
],

bazel/cargo/wasmsign/remote/BUILD.anyhow-1.0.86.bazel

Lines changed: 34 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,25 @@
66
# bazel run @//bazel/cargo/wasmsign:crates_vendor
77
###############################################################################
88

9-
load("@rules_rust//cargo:defs.bzl", "cargo_build_script")
9+
load(
10+
"@rules_rust//cargo:defs.bzl",
11+
"cargo_build_script",
12+
"cargo_toml_env_vars",
13+
)
1014
load("@rules_rust//rust:defs.bzl", "rust_library")
1115

1216
package(default_visibility = ["//visibility:public"])
1317

18+
cargo_toml_env_vars(
19+
name = "cargo_toml_env_vars",
20+
src = "Cargo.toml",
21+
)
22+
1423
rust_library(
1524
name = "anyhow",
1625
srcs = glob(
1726
include = ["**/*.rs"],
18-
allow_empty = False,
27+
allow_empty = True,
1928
),
2029
compile_data = glob(
2130
include = ["**"],
@@ -35,6 +44,9 @@ rust_library(
3544
],
3645
crate_root = "src/lib.rs",
3746
edition = "2018",
47+
rustc_env_files = [
48+
":cargo_toml_env_vars",
49+
],
3850
rustc_flags = [
3951
"--cap-lints=allow",
4052
],
@@ -52,10 +64,23 @@ rust_library(
5264
)
5365

5466
cargo_build_script(
55-
name = "anyhow_bs",
67+
name = "_bs",
5668
srcs = glob(
5769
include = ["**/*.rs"],
58-
allow_empty = False,
70+
allow_empty = True,
71+
),
72+
compile_data = glob(
73+
include = ["**"],
74+
allow_empty = True,
75+
exclude = [
76+
"**/* *",
77+
"**/*.rs",
78+
".tmp_git_root/**/*",
79+
"BUILD",
80+
"BUILD.bazel",
81+
"WORKSPACE",
82+
"WORKSPACE.bazel",
83+
],
5984
),
6085
crate_features = [
6186
"default",
@@ -76,6 +101,10 @@ cargo_build_script(
76101
],
77102
),
78103
edition = "2018",
104+
pkg_name = "anyhow",
105+
rustc_env_files = [
106+
":cargo_toml_env_vars",
107+
],
79108
rustc_flags = [
80109
"--cap-lints=allow",
81110
],
@@ -92,6 +121,6 @@ cargo_build_script(
92121

93122
alias(
94123
name = "build_script_build",
95-
actual = ":anyhow_bs",
124+
actual = ":_bs",
96125
tags = ["manual"],
97126
)

bazel/cargo/wasmsign/remote/BUILD.atty-0.2.14.bazel

Lines changed: 22 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,21 @@
66
# bazel run @//bazel/cargo/wasmsign:crates_vendor
77
###############################################################################
88

9+
load("@rules_rust//cargo:defs.bzl", "cargo_toml_env_vars")
910
load("@rules_rust//rust:defs.bzl", "rust_library")
1011

1112
package(default_visibility = ["//visibility:public"])
1213

14+
cargo_toml_env_vars(
15+
name = "cargo_toml_env_vars",
16+
src = "Cargo.toml",
17+
)
18+
1319
rust_library(
1420
name = "atty",
1521
srcs = glob(
1622
include = ["**/*.rs"],
17-
allow_empty = False,
23+
allow_empty = True,
1824
),
1925
compile_data = glob(
2026
include = ["**"],
@@ -30,6 +36,9 @@ rust_library(
3036
),
3137
crate_root = "src/lib.rs",
3238
edition = "2015",
39+
rustc_env_files = [
40+
":cargo_toml_env_vars",
41+
],
3342
rustc_flags = [
3443
"--cap-lints=allow",
3544
],
@@ -51,15 +60,15 @@ rust_library(
5160
"@rules_rust//rust/platform:aarch64-apple-ios-sim": [
5261
"@cu__libc-0.2.155//:libc", # cfg(unix)
5362
],
54-
"@rules_rust//rust/platform:aarch64-fuchsia": [
55-
"@cu__libc-0.2.155//:libc", # cfg(unix)
56-
],
5763
"@rules_rust//rust/platform:aarch64-linux-android": [
5864
"@cu__libc-0.2.155//:libc", # cfg(unix)
5965
],
6066
"@rules_rust//rust/platform:aarch64-pc-windows-msvc": [
6167
"@cu__winapi-0.3.9//:winapi", # cfg(windows)
6268
],
69+
"@rules_rust//rust/platform:aarch64-unknown-fuchsia": [
70+
"@cu__libc-0.2.155//:libc", # cfg(unix)
71+
],
6372
"@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [
6473
"@cu__libc-0.2.155//:libc", # cfg(unix)
6574
],
@@ -96,16 +105,19 @@ rust_library(
96105
"@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [
97106
"@cu__libc-0.2.155//:libc", # cfg(unix)
98107
],
108+
"@rules_rust//rust/platform:riscv64gc-unknown-linux-gnu": [
109+
"@cu__libc-0.2.155//:libc", # cfg(unix)
110+
],
99111
"@rules_rust//rust/platform:s390x-unknown-linux-gnu": [
100112
"@cu__libc-0.2.155//:libc", # cfg(unix)
101113
],
102-
"@rules_rust//rust/platform:x86_64-apple-darwin": [
114+
"@rules_rust//rust/platform:wasm32-unknown-emscripten": [
103115
"@cu__libc-0.2.155//:libc", # cfg(unix)
104116
],
105-
"@rules_rust//rust/platform:x86_64-apple-ios": [
117+
"@rules_rust//rust/platform:x86_64-apple-darwin": [
106118
"@cu__libc-0.2.155//:libc", # cfg(unix)
107119
],
108-
"@rules_rust//rust/platform:x86_64-fuchsia": [
120+
"@rules_rust//rust/platform:x86_64-apple-ios": [
109121
"@cu__libc-0.2.155//:libc", # cfg(unix)
110122
],
111123
"@rules_rust//rust/platform:x86_64-linux-android": [
@@ -117,6 +129,9 @@ rust_library(
117129
"@rules_rust//rust/platform:x86_64-unknown-freebsd": [
118130
"@cu__libc-0.2.155//:libc", # cfg(unix)
119131
],
132+
"@rules_rust//rust/platform:x86_64-unknown-fuchsia": [
133+
"@cu__libc-0.2.155//:libc", # cfg(unix)
134+
],
120135
"@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [
121136
"@cu__libc-0.2.155//:libc", # cfg(unix)
122137
],

bazel/cargo/wasmsign/remote/BUILD.bazel

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,12 @@ filegroup(
3131
)
3232

3333
# Workspace Member Dependencies
34+
alias(
35+
name = "wasmsign-0.1.2",
36+
actual = "@cu__wasmsign-0.1.2//:wasmsign",
37+
tags = ["manual"],
38+
)
39+
3440
alias(
3541
name = "wasmsign",
3642
actual = "@cu__wasmsign-0.1.2//:wasmsign",

bazel/cargo/wasmsign/remote/BUILD.bitflags-1.3.2.bazel

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,21 @@
66
# bazel run @//bazel/cargo/wasmsign:crates_vendor
77
###############################################################################
88

9+
load("@rules_rust//cargo:defs.bzl", "cargo_toml_env_vars")
910
load("@rules_rust//rust:defs.bzl", "rust_library")
1011

1112
package(default_visibility = ["//visibility:public"])
1213

14+
cargo_toml_env_vars(
15+
name = "cargo_toml_env_vars",
16+
src = "Cargo.toml",
17+
)
18+
1319
rust_library(
1420
name = "bitflags",
1521
srcs = glob(
1622
include = ["**/*.rs"],
17-
allow_empty = False,
23+
allow_empty = True,
1824
),
1925
compile_data = glob(
2026
include = ["**"],
@@ -33,6 +39,9 @@ rust_library(
3339
],
3440
crate_root = "src/lib.rs",
3541
edition = "2018",
42+
rustc_env_files = [
43+
":cargo_toml_env_vars",
44+
],
3645
rustc_flags = [
3746
"--cap-lints=allow",
3847
],

bazel/cargo/wasmsign/remote/BUILD.byteorder-1.5.0.bazel

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,21 @@
66
# bazel run @//bazel/cargo/wasmsign:crates_vendor
77
###############################################################################
88

9+
load("@rules_rust//cargo:defs.bzl", "cargo_toml_env_vars")
910
load("@rules_rust//rust:defs.bzl", "rust_library")
1011

1112
package(default_visibility = ["//visibility:public"])
1213

14+
cargo_toml_env_vars(
15+
name = "cargo_toml_env_vars",
16+
src = "Cargo.toml",
17+
)
18+
1319
rust_library(
1420
name = "byteorder",
1521
srcs = glob(
1622
include = ["**/*.rs"],
17-
allow_empty = False,
23+
allow_empty = True,
1824
),
1925
compile_data = glob(
2026
include = ["**"],
@@ -34,6 +40,9 @@ rust_library(
3440
],
3541
crate_root = "src/lib.rs",
3642
edition = "2021",
43+
rustc_env_files = [
44+
":cargo_toml_env_vars",
45+
],
3746
rustc_flags = [
3847
"--cap-lints=allow",
3948
],

bazel/cargo/wasmsign/remote/BUILD.cfg-if-1.0.0.bazel

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,21 @@
66
# bazel run @//bazel/cargo/wasmsign:crates_vendor
77
###############################################################################
88

9+
load("@rules_rust//cargo:defs.bzl", "cargo_toml_env_vars")
910
load("@rules_rust//rust:defs.bzl", "rust_library")
1011

1112
package(default_visibility = ["//visibility:public"])
1213

14+
cargo_toml_env_vars(
15+
name = "cargo_toml_env_vars",
16+
src = "Cargo.toml",
17+
)
18+
1319
rust_library(
1420
name = "cfg_if",
1521
srcs = glob(
1622
include = ["**/*.rs"],
17-
allow_empty = False,
23+
allow_empty = True,
1824
),
1925
compile_data = glob(
2026
include = ["**"],
@@ -30,6 +36,9 @@ rust_library(
3036
),
3137
crate_root = "src/lib.rs",
3238
edition = "2018",
39+
rustc_env_files = [
40+
":cargo_toml_env_vars",
41+
],
3342
rustc_flags = [
3443
"--cap-lints=allow",
3544
],

0 commit comments

Comments
 (0)