bazelbuild / rules_rust

Rust rules for Bazel
https://bazelbuild.github.io/rules_rust/
Apache License 2.0
623 stars 398 forks source link

bzlmod crate annotations don't support setting gen_binaries to True #2696

Closed illicitonion closed 1 week ago

illicitonion commented 2 weeks ago

Specifying a bool hits "error converting value for attribute gen_binaries: expected value of type 'list(string)' for gen_binaries, but got True (bool)"

illicitonion commented 2 weeks ago

I forgot that we introduced gen_all_binaries for this, and just we don't have docs for the bzlmod versions of the repository rules (which are sadly different). This is really a docs bug.