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/cargo/BUILD.bazel b/third_party/rust/cargo/BUILD.bazel
index 0cad4cf..406c168 100644
--- a/third_party/rust/cargo/BUILD.bazel
+++ b/third_party/rust/cargo/BUILD.bazel
@@ -7,8 +7,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"],
)