third_party/rules_rust: Use musl toolchain and add loader_wrapper
Change-Id: Ia873e6bf43ed8f6f3c56943dba0e893b7efb7f44
Reviewed-on: https://review.monogon.dev/c/monogon/+/4310
Reviewed-by: Tim Windelschmidt <tim@monogon.tech>
Tested-by: Jenkins CI
diff --git a/MODULE.bazel b/MODULE.bazel
index 2780c09..eaff967 100644
--- a/MODULE.bazel
+++ b/MODULE.bazel
@@ -42,6 +42,7 @@
patches = [
"//third_party/rules_rust:rust-prost-nostd.patch",
"//third_party/rules_rust:rust-reproducibility.patch",
+ "//third_party/rules_rust:musl.patch",
],
version = RULES_RUST_VERSION,
)