mirror of https://github.com/bazelbuild/rules_cc
Make it possible to test multiple configs in the same BUILD file.
PiperOrigin-RevId: 229960389
This commit is contained in:
parent
0627ae379c
commit
dc71ef6ea6
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue