https://github.com/bazelbuild/rules_rust/pull/2826 ended up introducing a regression for crates with build scripts that require extra data at compile time. This change adds a default glob for all cargo_build_script targets generated by crate_universe and also introduces an annotation.build_script_compile_data attribute to add custom targets to generated outputs.
https://github.com/bazelbuild/rules_rust/pull/2826 ended up introducing a regression for crates with build scripts that require extra data at compile time. This change adds a default glob for all
cargo_build_script
targets generated bycrate_universe
and also introduces anannotation.build_script_compile_data
attribute to add custom targets to generated outputs.