Skip to content

Commit 30fcd82

Browse files
avrabeclaude
andcommitted
fix: restore rules_rust fork for Windows wasm-component-ld.exe support
PR #3727 (bazelbuild/rules_rust#3727) is still open in upstream rules_rust. The previous commit incorrectly removed the fork override, breaking Windows builds. The fork at avrabe/rules_rust includes the fix that adds wasm-component-ld.exe to the rustc_lib filegroup, which is required for Windows WASM component builds. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <[email protected]>
1 parent 83c111f commit 30fcd82

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

MODULE.bazel

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,16 @@ module(
88

99
# Dependencies for WebAssembly tooling
1010
bazel_dep(name = "rules_rust", version = "0.68.1")
11+
12+
# TEMPORARY: Use fork with wasm-component-ld.exe fix for Windows support
13+
# See: https://github.com/bazelbuild/rules_rust/pull/3727 (still open)
14+
# Remove this override once PR #3727 is merged into upstream rules_rust
15+
git_override(
16+
module_name = "rules_rust",
17+
remote = "https://github.com/avrabe/rules_rust.git",
18+
commit = "1720224d4bd9fd03c7024b038bf2ab5c79488ca7",
19+
)
20+
1121
bazel_dep(name = "bazel_skylib", version = "1.8.2")
1222
bazel_dep(name = "platforms", version = "1.0.0")
1323
bazel_dep(name = "rules_cc", version = "0.2.14")

0 commit comments

Comments
 (0)