Skip to content

Commit 53fcd77

Browse files
committed
fix: register C++ toolchains for component build compatibility
- Add registration of @bazel_tools//tools/cpp:all toolchains - Resolves 'No matching toolchains found for types cpp:toolchain_type' error - Required for rules_wasm_component internal C++ toolchain dependencies - All toolchain setup now complete and working in CI
1 parent e864fd3 commit 53fcd77

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

MODULE.bazel

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,9 @@ use_repo(rust, "rust_toolchains")
5656

5757
register_toolchains("@rust_toolchains//:all")
5858

59+
# Register C++ toolchains for platform compatibility
60+
register_toolchains("@bazel_tools//tools/cpp:all")
61+
5962
# Rust dependencies
6063
crate = use_extension("@rules_rust//crate_universe:extension.bzl", "crate")
6164
crate.spec(

0 commit comments

Comments
 (0)