From 50b15a70c44422c289370d96d534dbd8a364ab3f Mon Sep 17 00:00:00 2001 From: Paolo Tranquilli Date: Wed, 18 Sep 2024 11:11:55 +0200 Subject: [PATCH] Really fix `extensions.bzl` --- nodejs/extensions.bzl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nodejs/extensions.bzl b/nodejs/extensions.bzl index 8b454e5580..10dd5c7b45 100644 --- a/nodejs/extensions.bzl +++ b/nodejs/extensions.bzl @@ -34,8 +34,8 @@ def _toolchain_extension(module_ctx): continue if not _toolchains_equal(toolchain, registrations[toolchain.name]): fail("Multiple conflicting toolchains declared:\n* {}\n* {}".format( - _toolchain_repr(toolchain_info), - _toolchain_repr(registered_toolchain_info), + _toolchain_repr(toolchain), + _toolchain_repr(registrations[toolchain.name]), )) else: # No problem to register a matching toolchain twice