Skip to content

Commit 9614f12

Browse files
committed
Set up Bazel rust_repositories with a default edition that is not usable
1 parent 4aa5e24 commit 9614f12

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

WORKSPACE

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,23 @@ load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
44

55
http_archive(
66
name = "rules_rust",
7-
sha256 = "3cf493f845837b9c0c44311992a8e387b508a267cb8f261ef97b94c915f292cc",
8-
strip_prefix = "rules_rust-55790492aca01b389d208cd1335b9d8c05e28329",
7+
sha256 = "29954bced3e0d1a57ff8db816f5cd8a5856179fc657455729f1eb53b39611419",
8+
strip_prefix = "rules_rust-6e1cbbfcd0d140baacc8ff1080f885d2a45296a9",
99
urls = [
10-
# Main branch as of 2022-04-10
11-
"https://github.com/bazelbuild/rules_rust/archive/55790492aca01b389d208cd1335b9d8c05e28329.tar.gz",
10+
# PR https://github.com/bazelbuild/rules_rust/pull/1254
11+
# on top of the main branch as of 2022-04-10
12+
"https://github.com/bazelbuild/rules_rust/archive/6e1cbbfcd0d140baacc8ff1080f885d2a45296a9.tar.gz",
1213
],
1314
)
1415

1516
load("@rules_rust//rust:repositories.bzl", "rust_repositories")
1617

1718
RUST_VERSION = "1.60.0"
1819

19-
rust_repositories(version = RUST_VERSION)
20+
rust_repositories(
21+
edition = "required",
22+
version = RUST_VERSION,
23+
)
2024

2125
load("//tools/bazel:vendor.bzl", "vendor")
2226

0 commit comments

Comments
 (0)