Skip to content

Commit 78203d1

Browse files
committed
fix: correct toolchain field access from wasm_tools_info to wasm_tools
Fixes field access error in wasm_tools_actions.bzl where toolchain has wasm_tools attribute, not wasm_tools_info.
1 parent 96d8392 commit 78203d1

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tools/bazel_helpers/wasm_tools_actions.bzl

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,7 @@ def wasm_tools_action(ctx, operation, **kwargs):
2525

2626
# Get the WASM tools component from toolchain
2727
wasm_tools_toolchain = ctx.toolchains["@rules_wasm_component//toolchains:wasm_tools_toolchain_type"]
28-
wasm_tools_info = wasm_tools_toolchain.wasm_tools_info
29-
wasm_tools_component_target = wasm_tools_info.wasm_tools_component
28+
wasm_tools_component_target = wasm_tools_toolchain.wasm_tools
3029

3130
if not wasm_tools_component_target:
3231
fail("WASM Tools Integration Component not available in toolchain")

0 commit comments

Comments
 (0)