Hi,
We have set up our own platforms and toolchains, and we always set `--platforms` and `--host_platforms` to those platforms. However, the chosen toolchain is always `@local_config_cc//:cc-compiler-k8` rather than our own toolchains for some targets. I debugged a bit with `--toolchain_resolution_debug`, and I saw this:
INFO: ToolchainResolution: Target platform @local_config_platform//:host: Selected execution platform @local_config_platform//:host, type @bazel_tools//tools/cpp:toolchain_type -> toolchain @local_config_cc//:cc-compiler-k8
I have no idea why target platform is `@local_config_platform//:host` even if I have set `--platforms`. And FYI I got this when building Tensorflow (tensorflow/python).
How can I get rid of this `@local_config_platform//:host` and use our own platform instead?