Skip to content

Commit 240a427

Browse files
committed
fix: add rules_rust git override for WASI Preview 2 support
- Add git_override for rules_rust with commit that includes wasi_preview_2 platform - Matches the same commit used by rules_wasm_component for compatibility - Resolves 'no such target wasi_preview_2' platform errors in CI builds
1 parent 4a6428c commit 240a427

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

MODULE.bazel

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,13 @@ git_override(
3636
commit = "068802420bacf902c3ff993874b6a01ee9a3ac55", # Latest commit from main branch
3737
)
3838

39+
# Git repository override for rules_rust - WASI Preview 2 support required
40+
git_override(
41+
module_name = "rules_rust",
42+
commit = "7d7d3ac00ad013c94e7a9d0db0732c20ffe8eab7", # WASI Preview 2 support
43+
remote = "https://github.com/bazelbuild/rules_rust.git",
44+
)
45+
3946
# Local development override - use local rules_wasm_component (disabled for CI)
4047
# local_path_override(
4148
# module_name = "rules_wasm_component",

0 commit comments

Comments
 (0)