Skip to content

Commit 98ca48b

Browse files
committed
Update bazel rules for min_specialization
Signed-off-by: Chris Frantz <[email protected]>
1 parent 7ae4da3 commit 98ca48b

File tree

4 files changed

+13
-4
lines changed

4 files changed

+13
-4
lines changed

BUILD.bazel

-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ rust_library(
3636
version = "0.1.0",
3737
deps = [
3838
"//third_party/rust/crates:ansi_term",
39-
"//third_party/rust/crates:inventory",
4039
"//third_party/rust/crates:num_traits",
4140
"//third_party/rust/crates:once_cell",
4241
"//third_party/rust/crates:pest",

examples/BUILD.bazel

-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ rust_binary(
3434
"//:serde_annotate",
3535
"//third_party/rust/crates:anyhow",
3636
"//third_party/rust/crates:clap",
37-
"//third_party/rust/crates:inventory",
3837
"//third_party/rust/crates:serde",
3938
"//third_party/rust/crates:serde_bytes",
4039
],

tests/BUILD.bazel

+11-1
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,21 @@ rust_test(
2222
"//:serde_annotate",
2323
"//third_party/rust/crates:anyhow",
2424
"//third_party/rust/crates:deser_hjson",
25-
"//third_party/rust/crates:inventory",
2625
"//third_party/rust/crates:json5",
2726
"//third_party/rust/crates:serde",
2827
"//third_party/rust/crates:serde_bytes",
2928
"//third_party/rust/crates:serde_json",
3029
"//third_party/rust/crates:serde_yaml",
3130
],
3231
)
32+
33+
rust_test(
34+
name = "test_erased",
35+
srcs = ["test_erased.rs"],
36+
edition = "2021",
37+
deps = [
38+
"//:serde_annotate",
39+
"//third_party/rust/crates:anyhow",
40+
"//third_party/rust/crates:serde",
41+
],
42+
)

third_party/rust/deps.bzl

+2-1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ def fetch_remote_crates():
77
def rust_deps():
88
rust_repositories(
99
edition = "2021",
10-
version = "1.60.0",
10+
version = "nightly",
11+
iso_date = "2022-09-28",
1112
)
1213
fetch_remote_crates()

0 commit comments

Comments
 (0)