Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,15 @@ bazel_dep(name = "rules_proto", version = "7.1.0")
bazel_dep(name = "rules_ruby", version = "0.28.0")
bazel_dep(name = "rules_rs", version = "0.0.96")

# Remove patch when updating to rules_rs >= 0.0.108
single_version_override(
module_name = "rules_rs",
patch_strip = 1,
patches = [
"//third_party/bazel:rules_rs_zlib_snapshot.patch",
],
)

single_version_override(
module_name = "rules_jvm_external",
patch_strip = 1,
Expand Down
18 changes: 18 additions & 0 deletions third_party/bazel/rules_rs_zlib_snapshot.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
diff --git a/rs/private/rustc_repository.bzl b/rs/private/rustc_repository.bzl
Comment thread
titusfortner marked this conversation as resolved.
--- a/rs/private/rustc_repository.bzl
+++ b/rs/private/rustc_repository.bzl
@@ -10,12 +10,12 @@ load(":rust_repository_utils.bzl", "RUST_REPOSITORY_COMMON_ATTR", "download_and_e
_LINUX_ZLIB = {
"aarch64": struct(
libdir = "usr/lib/aarch64-linux-gnu",
sha256 = "cbe3d39ec32d3cc27c021ae4af11e7c67bdf9d700d573207e0941d4038056278",
- url = "https://ports.ubuntu.com/ubuntu-ports/pool/main/z/zlib/zlib1g_1.3.dfsg-3.1ubuntu2.1_arm64.deb",
+ url = "https://snapshot.ubuntu.com/ubuntu/20260801T000000Z/pool/main/z/zlib/zlib1g_1.3.dfsg-3.1ubuntu2.1_arm64.deb",
),
"x86_64": struct(
libdir = "usr/lib/x86_64-linux-gnu",
sha256 = "7074b6a2f6367a10d280c00a1cb02e74277709180bab4f2491a2f355ab2d6c20",
- url = "https://archive.ubuntu.com/ubuntu/pool/main/z/zlib/zlib1g_1.3.dfsg-3.1ubuntu2.1_amd64.deb",
+ url = "https://snapshot.ubuntu.com/ubuntu/20260801T000000Z/pool/main/z/zlib/zlib1g_1.3.dfsg-3.1ubuntu2.1_amd64.deb",
),
}