Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
buck: make objcopy available via cxx_genrule
Summary: following advice in: https://fb.workplace.com/groups/930797200910874/permalink/1352691642054759/ this diff makes it possible to use a reference to the toolchain's objcopy via, e.g. ``` cxx_genrule( name = "embed_default_sensor_data", srcs = [ "sensor_data", "embed.sh", ], outs = { "object": ["default_sensor_data_lib"], }, bash = "./embed.sh $(ld) $(objcopy)", visibility = ["PUBLIC"], ) ``` Reviewed By: dtolnay Differential Revision: D52817209 fbshipit-source-id: 92ae52a595a185641310c8c1fe200fdaa1dcc54b
- Loading branch information