Skip to content

Commit 4fb1acf

Browse files
committed
test: add git_override for rules_rust Windows fix
Testing PR bazelbuild/rules_rust#3727 which adds wasm-component-ld.exe and rust-objcopy.exe to rustc_lib filegroup. This should fix Windows wasm32-wasip2 builds by ensuring the linker is copied into the Bazel sandbox. Issue: avrabe/rules_rust#8
1 parent 034dd5f commit 4fb1acf

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

MODULE.bazel

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,15 @@ single_version_override(
2929
version = "33.0",
3030
)
3131

32+
# Test fix for Windows wasm-component-ld.exe issue
33+
# https://github.com/avrabe/rules_rust/issues/8
34+
# https://github.com/bazelbuild/rules_rust/pull/3727
35+
git_override(
36+
module_name = "rules_rust",
37+
remote = "https://github.com/avrabe/rules_rust.git",
38+
branch = "fix/add-missing-rustc-binaries",
39+
)
40+
3241
# Test dependencies for cross-package C++ header examples
3342
bazel_dep(name = "fmt", version = "11.0.2")
3443
bazel_dep(name = "nlohmann_json", version = "3.11.3")

0 commit comments

Comments
 (0)