It's the same as bazel-lib's platform_transition_binary, so there's no need to maintain our own version.
bazel-lib
platform_transition_binary