Skip to content

Commit 3485f84

Browse files
avrabeclaude
andcommitted
fix: use rules_rust fork with _symlink_sysroot_tree fix
Override rules_rust 0.68.1 with fork that fixes the bug where target_files parameter was ignored in _symlink_sysroot_tree. This ensures wasm-component-ld is symlinked into the sysroot, fixing Windows builds for wasm32-wasip2 targets. See: bazelbuild/rules_rust#3727 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent bcbdb6f commit 3485f84

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
@@ -8,6 +8,15 @@ module(
88

99
# Dependencies for WebAssembly tooling
1010
bazel_dep(name = "rules_rust", version = "0.68.1")
11+
12+
# Override rules_rust with fork that fixes _symlink_sysroot_tree bug
13+
# This fix ensures wasm-component-ld is symlinked into the sysroot
14+
# See: https://github.com/bazelbuild/rules_rust/pull/3727
15+
git_override(
16+
module_name = "rules_rust",
17+
remote = "https://github.com/avrabe/rules_rust.git",
18+
commit = "f34108f99b06967604848e5a54dfd58ac65435b3",
19+
)
1120
bazel_dep(name = "bazel_skylib", version = "1.8.2")
1221
bazel_dep(name = "platforms", version = "1.0.0")
1322
bazel_dep(name = "rules_cc", version = "0.2.14")

0 commit comments

Comments
 (0)