Skip to content

Commit 40cdf2d

Browse files
David Freesegravypod
David Freese
authored andcommitted
Update to a more recent rules rust and update to use defs.bzl
Rules rust has made some changes upstream that remove the rust.bzl file. It had previously been left in there for compatibility purposes. This has been ongoing since February 16th. See this issue for additional context: bazelbuild/rules_rust#591.
1 parent d1327b6 commit 40cdf2d

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

WORKSPACE

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -343,11 +343,11 @@ _go_image_repos()
343343
# For our rust_image test
344344
http_archive(
345345
name = "rules_rust",
346-
sha256 = "42e60f81e2b269d28334b73b70d02fb516c8de0c16242f5d376bfe6d94a3509f",
347-
strip_prefix = "rules_rust-58f709ffec90da93c4e622d8d94f0cd55cd2ef54",
346+
sha256 = "d6a8bc37502f252ef190b37945c922e0d0104dc2250940a3ea5f9c42e7a0dc10",
347+
strip_prefix = "rules_rust-e2f0fccda912daac686b533ad77c5bc5d2f2ddb7",
348348
urls = [
349-
# Master branch as of 2021-02-04
350-
"https://github.com/bazelbuild/rules_rust/archive/58f709ffec90da93c4e622d8d94f0cd55cd2ef54.tar.gz",
349+
# `main` branch as of 2021-11-05
350+
"https://github.com/bazelbuild/rules_rust/archive/e2f0fccda912daac686b533ad77c5bc5d2f2ddb7.tar.gz",
351351
],
352352
)
353353

rust/image.bzl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
The signature of this rule is compatible with rust_binary.
1717
"""
1818

19-
load("@rules_rust//rust:rust.bzl", "rust_binary")
19+
load("@rules_rust//rust:defs.bzl", "rust_binary")
2020
load(
2121
"//cc:image.bzl",
2222
"DEFAULT_BASE",

0 commit comments

Comments
 (0)