Skip to content

Commit

Permalink
Stop using incompatible_use_toolchain_transition
Browse files Browse the repository at this point in the history
As documented at https://bazel.build/rules/lib/globals/bzl.html#rule:

    incompatible_use_toolchain_transition
    bool; default is False
    Deprecated, this is no longer in use and should be removed.

According to bazelbuild/bazel#14049, this
feature was enabled by default back in 2021.
  • Loading branch information
EdSchouten committed Jan 14, 2025
1 parent ea47e8d commit 8719324
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion nodejs/private/nodejs_toolchains_repo.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,6 @@ def _resolved_toolchain_impl(ctx):
resolved_toolchain = rule(
implementation = _resolved_toolchain_impl,
toolchains = ["@rules_nodejs//nodejs:toolchain_type"],
incompatible_use_toolchain_transition = True,
)
"""
repository_ctx.file("defs.bzl", starlark_content)
Expand Down

0 comments on commit 8719324

Please sign in to comment.