| "Configure a cc toolchain to call 'false' if used." | |
| def _impl(ctx): | |
| return cc_common.create_cc_toolchain_config_info( | |
| ctx = ctx, | |
| toolchain_identifier = "noop-toolchain", | |
| host_system_name = "local", | |
| target_system_name = "local", | |
| target_cpu = "k8", | |
| target_libc = "unknown", | |
| compiler = "false", | |
| abi_version = "unknown", | |
| abi_libc_version = "unknown", | |
| ) | |
| cc_toolchain_config = rule( | |
| implementation = _impl, | |
| attrs = {}, | |
| provides = [CcToolchainConfigInfo], | |
| ) |