Skip to content

Commit 5740180

Browse files
author
Rules WASM Component
committed
fix: add missing wasm_toolchain bzl_library target
Add the missing bzl_library target for wasm_toolchain that is referenced by the wasm/extensions.bzl dependency. The extensions.bzl file was trying to depend on //toolchains:wasm_toolchain but this target was not declared in the BUILD.bazel file. This commit adds the missing bzl_library declaration to resolve the build error. Changes: - Add bzl_library target for wasm_toolchain.bzl in toolchains/BUILD.bazel - Import @bazel_skylib//:bzl_library.bzl load statement - Set proper visibility for the bzl_library target
1 parent b98fa51 commit 5740180

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

toolchains/BUILD.bazel

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,18 @@
11
"""Toolchain type definitions"""
22

3+
load("@bazel_skylib//:bzl_library.bzl", "bzl_library")
4+
35
package(default_visibility = ["//visibility:public"])
46

57
# Toolchain type for WebAssembly tools
68
toolchain_type(
79
name = "wasm_tools_toolchain_type",
810
visibility = ["//visibility:public"],
11+
)
12+
13+
# Bzl library for toolchain implementation
14+
bzl_library(
15+
name = "wasm_toolchain",
16+
srcs = ["wasm_toolchain.bzl"],
17+
visibility = ["//visibility:public"],
918
)

0 commit comments

Comments
 (0)