diff --git a/tools/migration/ctoolchain_compare.bzl b/tools/migration/ctoolchain_compare.bzl index 00f1125..8109dc5 100644 --- a/tools/migration/ctoolchain_compare.bzl +++ b/tools/migration/ctoolchain_compare.bzl @@ -1,7 +1,7 @@ """A test rule that compares two CToolchains in proto format.""" def _impl(ctx): - toolchain_config_proto = ctx.actions.declare_file("toolchain_config.proto") + toolchain_config_proto = ctx.actions.declare_file(ctx.attr.toolchain_identifier + "_toolchain_config.proto") ctx.actions.write( toolchain_config_proto, ctx.attr.toolchain_config[CcToolchainConfigInfo].proto,