third_party/rust: update rules_rust and deps
This is required for rules_rust to work with CC toolchains.
Change-Id: I15f20c7bde09697fda248f7107be8bcd00e24d57
Reviewed-on: https://review.monogon.dev/c/monogon/+/1073
Tested-by: Jenkins CI
Reviewed-by: Lorenz Brun <lorenz@monogon.tech>
diff --git a/third_party/rust/BUILD.bazel b/third_party/rust/BUILD.bazel
index ebb1b3f..82156d7 100644
--- a/third_party/rust/BUILD.bazel
+++ b/third_party/rust/BUILD.bazel
@@ -13,8 +13,8 @@
# Aliased targets
alias(
- name = "mdbook",
- actual = "@raze__mdbook__0_4_10//:mdbook",
+ name = "cargo_bin_mdbook",
+ actual = "@raze__mdbook__0_4_22//:cargo_bin_mdbook",
tags = [
"cargo-raze",
"manual",
@@ -22,10 +22,8 @@
)
alias(
- # Extra aliased target, from raze configuration
- # N.B.: The exact form of this is subject to change.
- name = "cargo_bin_mdbook",
- actual = "@raze__mdbook__0_4_10//:cargo_bin_mdbook",
+ name = "mdbook",
+ actual = "@raze__mdbook__0_4_22//:mdbook",
tags = [
"cargo-raze",
"manual",
@@ -34,8 +32,18 @@
# Export file for Stardoc support
exports_files(
- [
- "crates.bzl",
- ],
+ glob([
+ "**/*.bazel",
+ "**/*.bzl",
+ ]),
+ visibility = ["//visibility:public"],
+)
+
+filegroup(
+ name = "srcs",
+ srcs = glob([
+ "**/*.bazel",
+ "**/*.bzl",
+ ]),
visibility = ["//visibility:public"],
)