platform_data returns a DefaultInfo provider, discarding other providers from the original rule.
It also does not forward the args of the wrapped rule, so e.g. a py_binary with an args = [ ... ] parameter will not have its args provided when invoked through a platform_data rule.
platform_datareturns aDefaultInfoprovider, discarding other providers from the original rule.It also does not forward the
argsof the wrapped rule, so e.g. apy_binarywith anargs = [ ... ]parameter will not have its args provided when invoked through aplatform_datarule.