feat: add an attr to rust_binary for customization of the binary name (#2970) It's often desirable to set the name of the resulting binary to something else other than the target name (`attr.name`), perhaps when the `rust_binary` target is wrapped in a macro, and not considered the "main" target of that macro. This diff adds a new `binary_name` attribute to `rust_binary`, which when set will be used as the resulting binaries prefix instead of the targets name. The default is to still use the target name.
This repository provides rules for building Rust projects with Bazel.
General discussions and announcements take place in the GitHub Discussions, but there are additional places where community members gather to discuss rules_rust.
Please refer to the full documentation.