commit | 37853347798715da6b4acf25e91d54e49c3fa66f | [log] [tgz] |
---|---|---|
author | UebelAndre <github@uebelandre.com> | Tue Apr 02 07:55:31 2024 -0700 |
committer | GitHub <noreply@github.com> | Tue Apr 02 14:55:31 2024 +0000 |
tree | ae7fdd9a4463fb1d077cd86d9397ebbbfcdfba4b | |
parent | ee339e27a9d9b440c39ec7db9f5d833941d56386 [diff] |
Fixed bug where crate_universe could match aliases to bench/example deps (#2600) A dependency which aliases a transitive dependency with a name that happens to match another Cargo target in that (Cargo) package will result in an incorrect dependency being collected. For the example of [surrealdb-core](https://github.com/surrealdb/surrealdb/blob/v1.3.1/core/Cargo.toml#L83), the `executor = { package "async-executor" }` dependency was incorrectly matching [a benchmark target](https://github.com/smol-rs/async-executor/blob/v1.9.1/Cargo.toml#L38-L40), thus causing a broken dep to be rendered. This PR fixes this issue.
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.