Skip to content

Commit 844f9d0

Browse files
committed
Also register a runtime toolchain for test
1 parent ca40eb0 commit 844f9d0

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

e2e/vendored_node/toolchains/BUILD.bazel

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,23 @@ load("@rules_nodejs//nodejs:toolchain.bzl", "nodejs_toolchain")
2626
]
2727
]
2828

29+
[
30+
toolchain(
31+
name = "node_vendored_%s_runtime" % os,
32+
target_compatible_with = [
33+
"@platforms//os:" + os,
34+
"@platforms//cpu:x86_64",
35+
],
36+
toolchain = ":node_" + os,
37+
toolchain_type = "@rules_nodejs//nodejs:runtime_toolchain_type",
38+
)
39+
for os in [
40+
"linux",
41+
"macos",
42+
"windows",
43+
]
44+
]
45+
2946
nodejs_toolchain(
3047
name = "node_linux",
3148
node = "@vendored_node_linux_amd64//:bin/node",

0 commit comments

Comments
 (0)