diff --git a/nodejs/private/nodejs_toolchains_repo.bzl b/nodejs/private/nodejs_toolchains_repo.bzl index 1550cab767..0a80d77176 100644 --- a/nodejs/private/nodejs_toolchains_repo.bzl +++ b/nodejs/private/nodejs_toolchains_repo.bzl @@ -96,7 +96,6 @@ See https://github.com/bazel-contrib/rules_nodejs/issues/3795. toolchain( name = "{platform}_toolchain", exec_compatible_with = {compatible_with}, - target_compatible_with = {compatible_with}, # prevent Node from this toolchain being bundled by js_image_oci to incompatible target platforms (https://github.com/bazel-contrib/rules_nodejs/issues/3854) toolchain = "@{user_node_repository_name}_{platform}//:toolchain", toolchain_type = "@rules_nodejs//nodejs:toolchain_type", )