This is useful for users to allow users to use different toolchains in different contexts based on the platform constraints. See example from https://github.com/bazel-contrib/toolchains_llvm/pull/371/files