Skip to content

Commit 236913b

Browse files
committed
Pre-commit changes
1 parent 21fd274 commit 236913b

File tree

4 files changed

+14
-15
lines changed

4 files changed

+14
-15
lines changed

.bcr/patches/remove_dev_deps.patch

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
--- a/MODULE.bazel 2025-12-11 01:36:49
2-
+++ b/MODULE.bazel 2025-12-11 01:36:49
1+
--- a/MODULE.bazel 2025-12-11 06:38:54.367179803 +0000
2+
+++ b/MODULE.bazel 2025-12-11 06:38:54.367179803 +0000
33
@@ -47,260 +47,3 @@
44
# HACK: In prod the includer's patch inserts the use_repo for multitool. This
55
# solves the problem of needing a use_repo here in prod and below in dev.
@@ -40,17 +40,18 @@
4040
-archive_override(
4141
- module_name = "toolchains_llvm_bootstrapped",
4242
- integrity = "sha256-eFiVi7+nC2ILQZSs2U1qUf1ocY6AtvR0CDrEKyjnHPY=",
43-
- strip_prefix = "toolchains_llvm_bootstrapped-36b46cebf6b738b5c2ab653291176d5a9bfe0fe1",
44-
- urls = ["https://github.com/cerisier/toolchains_llvm_bootstrapped/archive/36b46cebf6b738b5c2ab653291176d5a9bfe0fe1/master.tar.gz"],
4543
- patch_strip = 1,
4644
- patches = [
4745
- "//bazel/patches:llvm_darwin_sysroot.patch",
4846
- ],
47+
- strip_prefix = "toolchains_llvm_bootstrapped-36b46cebf6b738b5c2ab653291176d5a9bfe0fe1",
48+
- urls = ["https://github.com/cerisier/toolchains_llvm_bootstrapped/archive/36b46cebf6b738b5c2ab653291176d5a9bfe0fe1/master.tar.gz"],
4949
-)
5050
-
5151
-register_toolchains(
5252
- "@toolchains_llvm_bootstrapped//toolchain:all",
5353
-)
54+
-
5455
-########################################
5556
-# from bazel/include/rust.MODULE.bazel
5657
-# Rust configuration
@@ -63,15 +64,14 @@
6364
-)
6465
-rust.toolchain(
6566
- edition = "2024",
66-
- versions = ["1.88.0"],
6767
- extra_target_triples = [
6868
- "aarch64-apple-darwin",
6969
- "x86_64-apple-darwin",
7070
- "aarch64-unknown-linux-musl",
7171
- "x86_64-unknown-linux-musl",
7272
- ],
73+
- versions = ["1.88.0"],
7374
-)
74-
-
7575
-use_repo(rust, "rust_toolchains")
7676
-
7777
-register_toolchains("@rust_toolchains//:all")

MODULE.bazel

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -83,17 +83,18 @@ bazel_dep(name = "toolchains_llvm_bootstrapped", version = "0.2.5", dev_dependen
8383
archive_override(
8484
module_name = "toolchains_llvm_bootstrapped",
8585
integrity = "sha256-eFiVi7+nC2ILQZSs2U1qUf1ocY6AtvR0CDrEKyjnHPY=",
86-
strip_prefix = "toolchains_llvm_bootstrapped-36b46cebf6b738b5c2ab653291176d5a9bfe0fe1",
87-
urls = ["https://github.com/cerisier/toolchains_llvm_bootstrapped/archive/36b46cebf6b738b5c2ab653291176d5a9bfe0fe1/master.tar.gz"],
8886
patch_strip = 1,
8987
patches = [
9088
"//bazel/patches:llvm_darwin_sysroot.patch",
9189
],
90+
strip_prefix = "toolchains_llvm_bootstrapped-36b46cebf6b738b5c2ab653291176d5a9bfe0fe1",
91+
urls = ["https://github.com/cerisier/toolchains_llvm_bootstrapped/archive/36b46cebf6b738b5c2ab653291176d5a9bfe0fe1/master.tar.gz"],
9292
)
9393

9494
register_toolchains(
9595
"@toolchains_llvm_bootstrapped//toolchain:all",
9696
)
97+
9798
########################################
9899
# from bazel/include/rust.MODULE.bazel
99100
# Rust configuration
@@ -106,15 +107,14 @@ rust = use_extension(
106107
)
107108
rust.toolchain(
108109
edition = "2024",
109-
versions = ["1.88.0"],
110110
extra_target_triples = [
111111
"aarch64-apple-darwin",
112112
"x86_64-apple-darwin",
113113
"aarch64-unknown-linux-musl",
114114
"x86_64-unknown-linux-musl",
115115
],
116+
versions = ["1.88.0"],
116117
)
117-
118118
use_repo(rust, "rust_toolchains")
119119

120120
register_toolchains("@rust_toolchains//:all")

bazel/include/llvm.MODULE.bazel

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@ bazel_dep(name = "toolchains_llvm_bootstrapped", version = "0.2.5", dev_dependen
44
archive_override(
55
module_name = "toolchains_llvm_bootstrapped",
66
integrity = "sha256-eFiVi7+nC2ILQZSs2U1qUf1ocY6AtvR0CDrEKyjnHPY=",
7-
strip_prefix = "toolchains_llvm_bootstrapped-36b46cebf6b738b5c2ab653291176d5a9bfe0fe1",
8-
urls = ["https://github.com/cerisier/toolchains_llvm_bootstrapped/archive/36b46cebf6b738b5c2ab653291176d5a9bfe0fe1/master.tar.gz"],
97
patch_strip = 1,
108
patches = [
119
"//bazel/patches:llvm_darwin_sysroot.patch",
1210
],
11+
strip_prefix = "toolchains_llvm_bootstrapped-36b46cebf6b738b5c2ab653291176d5a9bfe0fe1",
12+
urls = ["https://github.com/cerisier/toolchains_llvm_bootstrapped/archive/36b46cebf6b738b5c2ab653291176d5a9bfe0fe1/master.tar.gz"],
1313
)
1414

1515
register_toolchains(
1616
"@toolchains_llvm_bootstrapped//toolchain:all",
17-
)
17+
)

bazel/include/rust.MODULE.bazel

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,14 @@ rust = use_extension(
88
)
99
rust.toolchain(
1010
edition = "2024",
11-
versions = ["1.88.0"],
1211
extra_target_triples = [
1312
"aarch64-apple-darwin",
1413
"x86_64-apple-darwin",
1514
"aarch64-unknown-linux-musl",
1615
"x86_64-unknown-linux-musl",
1716
],
17+
versions = ["1.88.0"],
1818
)
19-
2019
use_repo(rust, "rust_toolchains")
2120

2221
register_toolchains("@rust_toolchains//:all")

0 commit comments

Comments
 (0)