| commit | f29a63cb3c473bd0158c8c9d3e0793a33187d505 | [log] [tgz] |
|---|---|---|
| author | Augie Fackler <augie@google.com> | Wed Jan 14 06:03:57 2026 -0500 |
| committer | GitHub <noreply@github.com> | Wed Jan 14 11:03:57 2026 +0000 |
| tree | ec1f2f183cbc4caff6c96e207e93b28219e1fba4 | |
| parent | 82462c812f4492333739c97b25730c85d20227de [diff] |
bindgen: remove extra trailing space in check for --rust-edition flags (#3799) The arguments would be passed as either `--rust-edition=2024` or `--rust-edition`, `2024`, but either way the resulting entry from the list comprehension on the right hand of the `not in` operator will contain `"--rust-edition"` without the trailing space. This allows users of the bindgen rules to specify their own explicit edition. Tested: Works in our private repo, and didn't without this patch. Co-authored-by: Krasimir Georgiev <krasimir@google.com>
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.